summaryrefslogtreecommitdiff
path: root/tests/regression
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2016-04-15 17:09:41 +0200
committerPaul Moore <paul@paul-moore.com>2016-04-18 18:23:27 -0400
commit26d8299c92223281e27ba2f5d2c6406b2b3dc040 (patch)
tree49c72a4c2f0100b7508d32f951693148761a5235 /tests/regression
parent73d83e45efbe8c31067c97155162f17ca51b7435 (diff)
downloadlibseccomp-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>
Diffstat (limited to 'tests/regression')
-rwxr-xr-xtests/regression1
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