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

runtest cmd line args. Fixes #42 #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevinmartinjos
Copy link
Contributor

runtest can now parse command line arguments using argtable2. It is possible to run specific test suites (eg : util + commandline) or a specific test in a specific suite (eg: "initialization" in the suite "core"). The -f parameter causes the tests to run in forked mode and --help displays the help text.

argtable2 is available in debian (I use linux mint) repository (libargtable2) so I hope that won't be a problem.

However, I could not figure out a way to run specific tests from specific suites. For example, I cannot run selectively the tests "initialization" and "varnamc" from the suites "core" and "commandline" together (I can run all the tests in both core and util together though). argtable won't let me set both suite name and test name as parameters that can take variable number of arguments.

@kevinmartinjos
Copy link
Contributor Author

If you decide to merge this PR, do not forget to add libargtable2-0 to the list of required packages. Also, Travis could not start compiling because aptitude failed with an error when installing libgemplugin-ruby. I guess it will fail again because libargtable is not installed.

@kevinmartinjos
Copy link
Contributor Author

Hi,

can you check if the code compiles successfully on your local machine?

@navaneeth
Copy link
Member

Sure. Sorry for the delay.

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.

2 participants