Skip to content

Commit

Permalink
Merge branch 'topic/vadim-xunit' into 'master'
Browse files Browse the repository at this point in the history
Enhance Test_Support to be able to generate test reports.

See merge request eng/ide/VSS!279
  • Loading branch information
godunko committed Oct 3, 2023
2 parents 466ebd9 + 9c5f7a9 commit 37e2e6f
Show file tree
Hide file tree
Showing 6 changed files with 1,054 additions and 334 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ build_and_test:
$VSS_URL/packages/generic/$PACKAGE/$VERSION/$PACKAGE |\
tar xjf - -C ./data
# Make directory for XUnit test reports
export XUNIT_XML_PATH=.xunit-logs/
mkdir -p $XUNIT_XML_PATH
# Build VSS and run tests
( eval $(anod printenv --sandbox-dir /it/wave gnatall) ;\
make COVERAGE_MODE=gcov build-libs-static check ;\
Expand All @@ -118,12 +122,14 @@ build_and_test:

coverage: /^\s*lines:\s*\d+.\d+\%/
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: gcov.xml
codequality:
- spellcheck.json
junit: .xunit-logs/*.xml

build_gnatdoc:
services:
Expand Down
2 changes: 1 addition & 1 deletion gnat/tests/vss_text_tests.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ project VSS_Text_Tests is
end Compiler;

package Binder is
for Switches ("Ada") use ("-Wb");
for Switches ("Ada") use ("-Wb", "-Es");
end Binder;

end VSS_Text_Tests;
Loading

0 comments on commit 37e2e6f

Please sign in to comment.