Skip to content

Commit eefda4d

Browse files
committed
Merge branch 'topic/jicquel/fix-test-buildspace-name.issue-17' into 'master'
Fix build space name for tests in .gitlab-ci.yml See merge request eng/toolchain/gnatcoll-core!43
2 parents d952ba7 + 94b3d78 commit eefda4d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test:
5858
--failure-exit-code 1
5959
--xunit-output $CI_PROJECT_DIR/test.xml
6060
--xunit-name gnatcoll-core
61-
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core-current-test/results/new/ || FAILED=true
61+
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core_external_test/results/new/ || FAILED=true
6262

6363
# We previously prevented the pipeline from halting if a test failed, to make
6464
# sure all tests were run. If a test failed now we exit with a non-zero code
@@ -86,12 +86,12 @@ build_and_test_coverage:
8686
- anod vcs --add-repo gnatcoll-core $CI_PROJECT_DIR
8787
- anod build --latest gnatcoll-core -Qcoverage
8888
- anod test --latest gnatcoll-core -Qcoverage
89-
# TODO: replace build space by something computed
89+
9090
- e3-testsuite-report
9191
--failure-exit-code 1
9292
--xunit-output $CI_PROJECT_DIR/test-coverage.xml
9393
--xunit-name gnatcoll-core
94-
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core-current-test-cov/results/new/ || FAILED=true
94+
$ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core_coverage_test/results/new/ || FAILED=true
9595

9696
# Create test count badge
9797
- cd $CI_PROJECT_DIR
@@ -100,9 +100,9 @@ build_and_test_coverage:
100100

101101
# Move coverage reports and log coverage summaries
102102
- mkdir $CI_PROJECT_DIR/coverage
103-
- mv /it/wave/x86_64-linux/gnatcoll-core-current-test-cov/results/new/coverage-xml $CI_PROJECT_DIR/coverage/xml
104-
- mv /it/wave/x86_64-linux/gnatcoll-core-current-test-cov/results/new/coverage-dhtml $CI_PROJECT_DIR/coverage/dhtml
105-
- mv /it/wave/x86_64-linux/gnatcoll-core-current-test-cov/results/new/coverage-cobertura $CI_PROJECT_DIR/coverage/cobertura
103+
- mv $ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core_coverage_test/results/new/coverage-xml $CI_PROJECT_DIR/coverage/xml
104+
- mv $ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core_coverage_test/results/new/coverage-dhtml $CI_PROJECT_DIR/coverage/dhtml
105+
- mv $ANOD_DEFAULT_SANDBOX_DIR/$HOST/gnatcoll-core_coverage_test/results/new/coverage-cobertura $CI_PROJECT_DIR/coverage/cobertura
106106
- echo_coverage_stats --coverage-file $CI_PROJECT_DIR/coverage/xml/index.xml
107107

108108
# We previously prevented the pipeline from halting if a test failed, to make

0 commit comments

Comments
 (0)