Skip to content

Commit 7765476

Browse files
committed
Add CI verbose and debug options for autest
1 parent c2d6405 commit 7765476

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/jenkins/bin/autest.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ WCCP=""
5353
LUAJIT=""
5454
QUIC=""
5555
CURL=""
56+
AUTEST_DEBUG=""
57+
AUTEST_VERBOSE=""
5658

5759
[ "1" == "$enable_ccache" ] && CCACHE="--enable-ccache"
5860
[ "1" == "$enable_werror" ] && WERROR="--enable-werror"
@@ -61,6 +63,8 @@ CURL=""
6163
[ "1" == "$enable_luajit" ] && LUAJIT="--enable-luajit"
6264
[ "1" == "$enable_quic" ] && QUIC="--with-openssl=/opt/openssl-quic"
6365
[ "1" == "$disable_curl" ] && CURL="--disable-curl"
66+
[ "1" == "$enable_autest_debug" ] && AUTEST_DEBUG="--debug"
67+
[ "1" == "$enable_autest_verbose" ] && AUTEST_VERBOSE="---verbose"
6468

6569
mkdir -p ${INSTALL}
6670

@@ -105,7 +109,7 @@ AUTEST="/usr/bin/autest"
105109
[ ! -x ${AUTEST} ] && AUTEST="/usr/local/bin/autest"
106110
set -x
107111

108-
${AUTEST} -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin "${INSTALL}/bin"
112+
${AUTEST} -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin "${INSTALL}/bin" $AUTEST_DEBUG $AUTEST_VERBOSE
109113
status=$?
110114

111115
set +x

0 commit comments

Comments
 (0)