From 6a64ecc6b10d6e0a77329f611189c37d83979d77 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Tue, 9 Apr 2024 10:17:01 -0400 Subject: [PATCH] [tests] Show verbose output if compilation fails --- runbuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runbuild b/runbuild index 202eaf0a..563f1706 100755 --- a/runbuild +++ b/runbuild @@ -46,11 +46,11 @@ echo "CONFIG_PACKAGE_openwisp-config=y" >>.config make defconfig if [ ! "$CI_CACHE" ]; then - make -j"$CORES" tools/install - make -j"$CORES" toolchain/install + make -j"$CORES" tools/install || make -j1 V=s tools/install + make -j"$CORES" toolchain/install || make -j1 V=s toolchain/install fi -make -j"$CORES" package/openwisp-config/compile || exit 1 +make -j"$CORES" package/openwisp-config/compile || make -j1 V=s package/openwisp-config/compile || exit 1 mv "$BUILD_DIR"/openwrt/bin/packages/"$COMPILE_TARGET"/openwisp "$VERSIONED_DIR"