diff --git a/.circleci/config.yml b/.circleci/config.yml index 61b4685228d..d9ee94af2d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -282,6 +282,8 @@ jobs: - run: name: Execute integration tests command: /usr/bin/entrypoint test + - store_test_results: + path: /build/release/integration-tests-xunit "tests/integration-static": docker: - image: falcosecurity/falco-tester:latest @@ -297,6 +299,8 @@ jobs: - run: name: Execute integration tests command: /usr/bin/entrypoint test + - store_test_results: + path: /build-static/release/integration-tests-xunit "tests/driver-loader/integration": machine: image: ubuntu-1604:202004-01 diff --git a/test/run_regression_tests.sh b/test/run_regression_tests.sh index 2dd450b52e0..bd8e61e8e3c 100755 --- a/test/run_regression_tests.sh +++ b/test/run_regression_tests.sh @@ -104,8 +104,12 @@ function run_tests() { suites+=($SCRIPTDIR/falco_tests_package.yaml) fi + XUNIT_DIR="${OPT_BUILD_DIR}/integration-tests-xunit" + mkdir -p "${XUNIT_DIR}" + for mult in "${suites[@]}"; do - CMD="avocado run --mux-yaml $mult --job-results-dir $SCRIPTDIR/job-results -- $SCRIPTDIR/falco_test.py" + XUNIT_FILE_NAME="${XUNIT_DIR}/$(basename "${mult}").xml" + CMD="avocado run --xunit ${XUNIT_FILE_NAME} --mux-yaml $mult --job-results-dir $SCRIPTDIR/job-results -- $SCRIPTDIR/falco_test.py" echo "Running $CMD" BUILD_DIR=${OPT_BUILD_DIR} $CMD RC=$?