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

Tidy up, and add harness for examples #27

Merged
merged 4 commits into from Jan 13, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Update the executable used to run the examples to be the same as harn…

…ess.

In order to have an easy way to control which python runs the examples,
make the python version used into the one used by the harness itself.
That way if you invoke it with Python 3, it'll test with Python 3.
  • Loading branch information
gerph committed Jan 12, 2020
commit 11078d02ed3c0947b060ee8b8ab76f3b9075a8db
@@ -169,7 +169,7 @@ def main():
any_failed = False
for example in find_examples():
print("Example: {}".format(example.name))
result = example.run(runs=args.runs)
result = example.run(python=sys.executable, runs=args.runs)
result.show(indent=' ')
if not args.keep:
if result.fail_file:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.