Bug 35988 - Hold ucs-test on failure
Hold ucs-test on failure
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Dmitry Galkin
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-24 11:20 CEST by Stefan Gohmann
Modified: 2023-03-25 06:46 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
stopped execution on first failed test (812 bytes, text/plain)
2014-11-17 16:56 CET, Dmitry Galkin
Details
complete section execution, no '-H' or '--hold' is given (3.34 KB, text/plain)
2014-11-17 16:58 CET, Dmitry Galkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-09-24 11:20:59 CEST
It should be possible to start a ucs-test run and ucs-test stops on the first failed test case.
Comment 1 Dmitry Galkin univentionstaff 2014-11-17 16:56:20 CET
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
Comment 2 Dmitry Galkin univentionstaff 2014-11-17 16:56:54 CET
Created attachment 6390 [details]
stopped execution on first failed test
Comment 3 Dmitry Galkin univentionstaff 2014-11-17 16:58:06 CET
Created attachment 6392 [details]
complete section execution, no '-H' or '--hold' is given
Comment 4 Philipp Hahn univentionstaff 2014-11-20 12:20:45 CET
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
Comment 5 Dmitry Galkin univentionstaff 2014-11-21 11:31:52 CET
> 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).