diff options
author | Helge Deller <deller@gmx.de> | 2016-04-15 17:09:41 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-04-18 18:23:27 -0400 |
commit | 26d8299c92223281e27ba2f5d2c6406b2b3dc040 (patch) | |
tree | 49c72a4c2f0100b7508d32f951693148761a5235 | |
parent | 73d83e45efbe8c31067c97155162f17ca51b7435 (diff) | |
download | libseccomp-26d8299c92223281e27ba2f5d2c6406b2b3dc040.tar.gz |
tests: Report if test was skipped because of missing valgrind
Print a message if a regression test was skipped just because valgrind isn't
installed.
This additional info is useful for architectures (e.g. parisc) which aren't
as fast as x86_64. On parisc it seemed that the whole testcase was hanging,
now people know what's actually happening.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rwxr-xr-x | tests/regression | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regression b/tests/regression index 53d26b2..a720d55 100755 --- a/tests/regression +++ b/tests/regression @@ -772,6 +772,7 @@ function run_test() { if check_deps valgrind; then run_test_bpf_valgrind "$testnumstr" "$3" else + print_result $testnumstr "SKIPPED" "(valgrind not installed)" stats_skipped=$(($stats_skipped+1)) fi elif [[ "$4" == "live" ]]; then |