From 7ec8d27033bea05ce1be4601e6784134c4a66c9f Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sat, 30 May 2015 23:00:40 +0200 Subject: 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 --- tests/backtrace-subr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/backtrace-subr.sh') 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" -- cgit v1.2.1