From b9c7f8b90acf82aec21369219004403111316b1b Mon Sep 17 00:00:00 2001 From: Semir Sionek Date: Wed, 28 May 2025 15:59:11 +0000 Subject: [PATCH] fix(vpp-hst): do not run debug tests without a successful build Change-Id: I56b2cf222ad6422b183ee0b2498927e91825f725 Signed-off-by: Semir Sionek --- jjb/scripts/vpp/debug-hst.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jjb/scripts/vpp/debug-hst.sh b/jjb/scripts/vpp/debug-hst.sh index 1761d0949..bf26aa83f 100755 --- a/jjb/scripts/vpp/debug-hst.sh +++ b/jjb/scripts/vpp/debug-hst.sh @@ -27,7 +27,7 @@ BUILD_ERROR="" RETVAL="0" HST_DIR="./extras/hs-test" -vpp_make_build_debug() { +hst_build_run() { if ! make UNATTENDED=yes install-dep ; then BUILD_ERROR="FAILED 'make install-dep'" return @@ -40,9 +40,6 @@ vpp_make_build_debug() { BUILD_ERROR="FAILED 'make -C $HST_DIR build-debug'" return fi -} - -hst_test_debug() { if ! make VERBOSE=true VPPSRC="$(pwd)" -C "$HST_DIR" test-debug ; then BUILD_ERROR="FAILED 'make -C $HST_DIR test-debug'" return @@ -50,8 +47,7 @@ hst_test_debug() { } if [ "${DRYRUN,,}" != "true" ] ; then - vpp_make_build_debug - hst_test_debug + hst_build_run fi if [ -n "$BUILD_ERROR" ] ; then BUILD_RESULT="$BUILD_ERROR" -- 2.16.6