瀏覽代碼

CI: Trace test only

No minimise test log hide traces of prepare operations.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
Anton Mikanovich 3 年之前
父節點
當前提交
7fbce56d32
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      scripts/ci_build.sh

+ 3 - 3
scripts/ci_build.sh

@@ -113,9 +113,6 @@ if [ -z "$REPRO_BUILD" ]; then
     TAGS="$TAGS,-repro"
 fi
 
-# the real stuff starts here, trace commands from now on
-set -x
-
 # Provide working path
 mkdir -p .config/avocado
 cat <<EOF > .config/avocado/avocado.conf
@@ -127,6 +124,9 @@ logs_dir = $(realpath $BUILD_DIR)/job-results
 EOF
 export VIRTUAL_ENV="./"
 
+# the real stuff starts here, trace commands from now on
+set -x
+
 avocado $VERBOSE run "$BUILD_TEST_DIR/build_test.py" \
     -t $TAGS --test-runner=runner --disable-sysinfo \
     -p build_dir="$BUILD_DIR" -p quiet=$QUIET -p cross=$CROSS_BUILD