Repository navigation
Replace backend_driver by new example runner. - #17226
Merged
Merged
Conversation
QuLogic
reviewed
May 5, 2020
| help="examples to run; defaults to all examples (except *_sgskip.py)") | ||
| args = parser.parse_args() | ||
|
|
||
| root = (Path(__file__).parent / "../examples").resolve() |
Contributor
Author
There was a problem hiding this comment.
the first parent is basically dirname(); I guess the other option would be .parents[1] / "examples" but I always find it hard to get the right index in the brackets...
Contributor
Author
There was a problem hiding this comment.
sure, that's fine too
anntzer
force-pushed
the
driver
branch
2 times, most recently
from
May 6, 2020 07:08
0c1c34f to
e3b2a80
Compare
QuLogic
approved these changes
May 6, 2020
Member
|
Shouldn't it be possible to run this with no arguments? |
backend_driver has been really outdated for a long time. Replace it by a new script running all or a subset of the examples scripts.
Contributor
Author
|
oops, should be fixed now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backend_driver has been really outdated for a long time. Replace it by
a new script running all or a subset of the examples scripts.
Supersedes #8069 (@dstansby).
PR Summary
PR Checklist