build: make our integration tests report clear steps for circleCI UI

inspection via collect test data [0]

[0] https://circleci.com/docs/2.0/collect-test-data/

Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
Lorenzo Fontana
2020-11-05 14:14:59 +01:00
committed by poiana
parent ee5b55c02e
commit aaf6816821
2 changed files with 8 additions and 1 deletions

View File

@@ -104,8 +104,11 @@ function run_tests() {
suites+=($SCRIPTDIR/falco_tests_package.yaml)
fi
mkdir -p ${OPT_BUILD_DIR}/integration-tests-xunit
for mult in "${suites[@]}"; do
CMD="avocado run --mux-yaml $mult --job-results-dir $SCRIPTDIR/job-results -- $SCRIPTDIR/falco_test.py"
XUNITFILENAME="${OPT_BUILD_DIR}/$(basename "${mult}").xml"
CMD="avocado run --xunit ${XUNITFILENAME} --mux-yaml $mult --job-results-dir $SCRIPTDIR/job-results -- $SCRIPTDIR/falco_test.py"
echo "Running $CMD"
BUILD_DIR=${OPT_BUILD_DIR} $CMD
RC=$?