Skip to content

Commit 710c885

Browse files
author
Charlie Somerville
committed
only print output of configure, etc. if they fail
1 parent 93bf374 commit 710c885

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

script/cibuild

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ if [ -z "$CORES" ]; then
44
CORES=16
55
fi
66

7-
git clean -f -x
8-
autoconf
9-
./configure --disable-install-doc --prefix=`pwd`/inst
7+
function Q {
8+
if ! "$@" > /tmp/ruby_ci_log; then
9+
cat /tmp/ruby_ci_log
10+
exit 1
11+
fi
12+
}
13+
14+
Q git clean -f -x
15+
Q autoconf
16+
Q ./configure --disable-install-doc --prefix=`pwd`/inst
1017
make -j $CORES
1118
make install
1219
make TESTS="-j $CORES" test-all

0 commit comments

Comments
 (0)