Skip to content

Commit e71006d

Browse files
committed
disable errexit, so we can dump make check log file
1 parent cfb1520 commit e71006d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

darshan-test/automated/build-darshan.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
# Exit immediately if a command exits with a non-zero status.
7-
set -x
7+
set -e
88

99
basedir=$PWD
1010
build_dir=$PWD/darshan_build
@@ -47,11 +47,20 @@ make check
4747

4848
# run "make check" for darshan-runtime must be done after darshan-util has been
4949
# built, as it used darshan-parser.
50+
check_status=0
5051
if [ ! -v DARSHAN_RUNTIME_SKIP ]; then
5152
cd $build_dir/darshan-runtime
53+
54+
# disable errexit, so we can dump make check log file
55+
unset -e
56+
5257
# run check
5358
make check
5459

55-
#dump log files
60+
check_status=$?
61+
62+
# dump make check log file
5663
cat test/tst_runs.log
5764
fi
65+
66+
exit $check_status

0 commit comments

Comments
 (0)