diff options
Diffstat (limited to '.circleci/test_spm.sh')
-rwxr-xr-x | .circleci/test_spm.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.circleci/test_spm.sh b/.circleci/test_spm.sh index eb141e5..104e8fb 100755 --- a/.circleci/test_spm.sh +++ b/.circleci/test_spm.sh @@ -1,13 +1,18 @@ #!/bin/bash -e source $(dirname "${BASH_SOURCE[0]}")/runtime.sh +export TEST_RESULTS=${TEST_RESULTS:-/tmp/test-results} export PREFIX=/tmp/root export SHELL=/bin/bash +mkdir -p "${TEST_RESULTS}"/spm cd build set -x -ctest -V +ctest -T test +xsltproc \ + ../.circleci/ctest-to-junit.xsl \ + Testing/$(head -n 1 < Testing/TAG)/Test.xml > "${TEST_RESULTS}"/spm/Test.xml spm --list |