Univention Bugzilla – Bug 35988
Hold ucs-test on failure
Last modified: 2023-03-25 06:46:54 CET
It should be possible to start a ucs-test run and ucs-test stops on the first failed test case.
r55889: * bin/ucs-test: added an option to stop tests execution after the first failed test (Bug #35988). The option is called 'hold': root@master:~# ucs-test -h Usage: ucs-test [options] Options: -h, --help show this help message and exit Test selection: .......... -H, --hold Stop execution after the first failed test For some examples see below
Created attachment 6390 [details] stopped execution on first failed test
Created attachment 6392 [details] complete section execution, no '-H' or '--hold' is given
OK: r55889 OK: ucs-test --help Probably should remove the new option from the "Selection" group as this options has very little to do with the selection of tests to run. Moving it to the main-parser would IMHO fit better. OK: ucs-test -H
> OK: ucs-test --help > Probably should remove the new option from the "Selection" group as this > options has very little to do with the selection of tests to run. Moving it > to the main-parser would IMHO fit better. r56039: * bin/ucs-test: move the "--hold" argument to the main/general parser section (Bug #35988).