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

Run only tests that contain a given string in title. #30

Merged
merged 4 commits into from Apr 25, 2014

Conversation

Projects
None yet
2 participants
@cirosantilli
Contributor

cirosantilli commented Apr 21, 2014

The main thing this PR does is add the -s option which allows us to:

./run-tests.py -s img

and run only tests which contain the string img on their filename.

To do this, I needed to add argparse, which led to refactoring:

  • docstrings go into argparse help
  • cat-all.py was also modified to use argparse not to leave things half done.

The other commits are minor but rely on the first one. They add the options:

  • -n to run only a single test with given test number
  • -l to list engines and their status

@karlcow karlcow merged commit b60e117 into karlcow:master Apr 25, 2014

karlcow added a commit that referenced this pull request Apr 25, 2014

@cirosantilli cirosantilli deleted the cirosantilli:one-test branch Apr 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment