summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/oe-selftest8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 4c92f6da62..9444244e02 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -73,9 +73,9 @@ def get_args_parser():
73 description = "Script that runs unit tests agains bitbake and other Yocto related tools. The goal is to validate tools functionality and metadata integrity. Refer to https://wiki.yoctoproject.org/wiki/Oe-selftest for more information." 73 description = "Script that runs unit tests agains bitbake and other Yocto related tools. The goal is to validate tools functionality and metadata integrity. Refer to https://wiki.yoctoproject.org/wiki/Oe-selftest for more information."
74 parser = argparse_oe.ArgumentParser(description=description) 74 parser = argparse_oe.ArgumentParser(description=description)
75 group = parser.add_mutually_exclusive_group(required=True) 75 group = parser.add_mutually_exclusive_group(required=True)
76 group.add_argument('--run-tests', required=False, action='store', nargs='*', dest="run_tests", default=None, help='Select what tests to run (modules, classes or test methods). Format should be: <module>.<class>.<test_method>') 76 group.add_argument('-r', '--run-tests', required=False, action='store', nargs='*', dest="run_tests", default=None, help='Select what tests to run (modules, classes or test methods). Format should be: <module>.<class>.<test_method>')
77 group.add_argument('--run-all-tests', required=False, action="store_true", dest="run_all_tests", default=False, help='Run all (unhidden) tests') 77 group.add_argument('-a', '--run-all-tests', required=False, action="store_true", dest="run_all_tests", default=False, help='Run all (unhidden) tests')
78 group.add_argument('--list-modules', required=False, action="store_true", dest="list_modules", default=False, help='List all available test modules.') 78 group.add_argument('-m', '--list-modules', required=False, action="store_true", dest="list_modules", default=False, help='List all available test modules.')
79 group.add_argument('--list-classes', required=False, action="store_true", dest="list_allclasses", default=False, help='List all available test classes.') 79 group.add_argument('--list-classes', required=False, action="store_true", dest="list_allclasses", default=False, help='List all available test classes.')
80 parser.add_argument('--coverage', action="store_true", help="Run code coverage when testing") 80 parser.add_argument('--coverage', action="store_true", help="Run code coverage when testing")
81 parser.add_argument('--coverage-source', dest="coverage_source", nargs="+", help="Specifiy the directories to take coverage from") 81 parser.add_argument('--coverage-source', dest="coverage_source", nargs="+", help="Specifiy the directories to take coverage from")
@@ -85,7 +85,7 @@ def get_args_parser():
85 help='run-tests-by <name|class|module|id|tag> <list of tests|classes|modules|ids|tags>') 85 help='run-tests-by <name|class|module|id|tag> <list of tests|classes|modules|ids|tags>')
86 group.add_argument('--list-tests-by', required=False, dest='list_tests_by', default=False, nargs='*', 86 group.add_argument('--list-tests-by', required=False, dest='list_tests_by', default=False, nargs='*',
87 help='list-tests-by <name|class|module|id|tag> <list of tests|classes|modules|ids|tags>') 87 help='list-tests-by <name|class|module|id|tag> <list of tests|classes|modules|ids|tags>')
88 group.add_argument('--list-tests', required=False, action="store_true", dest="list_tests", default=False, 88 group.add_argument('-l', '--list-tests', required=False, action="store_true", dest="list_tests", default=False,
89 help='List all available tests.') 89 help='List all available tests.')
90 group.add_argument('--list-tags', required=False, dest='list_tags', default=False, action="store_true", 90 group.add_argument('--list-tags', required=False, dest='list_tags', default=False, action="store_true",
91 help='List all tags that have been set to test cases.') 91 help='List all tags that have been set to test cases.')