From 29c453302c941e12a4bad8f47390a7628ef2d396 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Tue, 27 Aug 2024 17:44:15 -0400 Subject: [PATCH] Debug Signed-off-by: Cole Miller --- contrib/build-static.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/contrib/build-static.sh b/contrib/build-static.sh index 96346c01b..e6db7b937 100755 --- a/contrib/build-static.sh +++ b/contrib/build-static.sh @@ -132,14 +132,9 @@ if [ ! -f "${BUILD_DIR}/dqlite/libdqlite.la" ]; then ./configure --disable-shared --enable-build-raft --prefix="${INSTALL_DIR}" \ CFLAGS="${CFLAGS} -I${INSTALL_DIR}/musl/include" - make -j unit-test integration-test \ - raft-core-fuzzy-test \ - raft-core-integration-test \ - raft-core-unit-test \ - raft-uv-integration-test \ - raft-uv-unit-test - ls - make -j check || (cat test-suite.log && false) - make install + bins="unit-test integration-test raft-core-fuzzy-test raft-core-integration-test raft-core-unit-test raft-uv-integration-test raft-uv-unit-test" + make -j $bins + for bin in $bins; do ./$bin 2>&1 | tee -a test-suite.log || touch any-failed; done + test '!' -e any-failed ) fi