diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-12-08 13:43:02 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-12-08 13:55:21 +0100 |
| commit | 836885ffc5c4aeca6f9d01cdaaad0a12ea1c1c58 (patch) | |
| tree | 86107cd73d741d3c2ff1059d104e325cb6f4d2c0 /validation | |
| parent | d1a5d1da0dd9768014d565baf7f1c2daab366fad (diff) | |
| download | sparse-dev-836885ffc5c4aeca6f9d01cdaaad0a12ea1c1c58.tar.gz | |
testsuite: reset 'quiet' at the start of each testcase
The flag 'quiet' is used to quiets unwanted error messages,
for example for testcases known to fail, but this flag is reset
too late so that the beginning of the next testcases will run
with the value for the previous case.
Fix this by reseting the flag at the begining of each testcase.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
| -rwxr-xr-x | validation/test-suite | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/test-suite b/validation/test-suite index 420214c6..6a939846 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -255,6 +255,7 @@ do_test() { test_failed=0 file="$1" + quiet=0 get_tag_value $file @@ -316,7 +317,6 @@ do_test() actual_exit_value=$? must_fail=$check_known_to_fail - quiet=0 [ $must_fail -eq 1 ] && [ $V -eq 0 ] && quiet=1 known_ko_tests=$(($known_ko_tests + $must_fail)) |
