Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils.py testing framework improvements #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AndrewTolmach
Copy link
Contributor

@AndrewTolmach AndrewTolmach commented Dec 20, 2022

A set of changes to tidy up the testing framework and add new functionality:

In utils.py:

  • flag for emulation of final x86 program is exposed in a new function
  • exceptions are caught and printed before continuing, allowing easier testing of large suites.
  • no .in file is needed for tests that don't do input
  • executable files are saved with .exe extension rather than defaulting to a.out
  • new entry point for executing a selected list of files

There is a new file run-some-tests.py that allows a set of tests to be specified on the command line using standard shell expansion, and provides flags for setting tracing and/or emulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant