diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-05-30 23:00:40 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-06-05 14:41:20 +0200 |
commit | 7ec8d27033bea05ce1be4601e6784134c4a66c9f (patch) | |
tree | 2bce4780870ac3a85420a8acb07c62215c2026e9 /tests/backtrace-subr.sh | |
parent | 4664fd5871918cbf3afc6c9364e2b5117deecb1a (diff) | |
download | elfutils-7ec8d27033bea05ce1be4601e6784134c4a66c9f.tar.gz |
tests: Always print reason when skipping test.
Make sure the reason a test is SKIPPED is added to the test-suite.log.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'tests/backtrace-subr.sh')
-rw-r--r-- | tests/backtrace-subr.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh index f04721cf..790b4f44 100644 --- a/tests/backtrace-subr.sh +++ b/tests/backtrace-subr.sh @@ -1,4 +1,4 @@ -# Copyright (C) 2013 Red Hat, Inc. +# Copyright (C) 2013, 2015 Red Hat, Inc. # This file is part of elfutils. # # This file is free software; you can redistribute it and/or modify @@ -135,7 +135,7 @@ check_native_core() if [ -f core ]; then mv core "$core" fi - if [ ! -f "$core" ]; then exit 77; fi + if [ ! -f "$core" ]; then echo "No $core file generated"; exit 77; fi if [ "x$SAVED_VALGRIND_CMD" != "x" ]; then VALGRIND_CMD="$SAVED_VALGRIND_CMD" |