Skip to content

Commit

Permalink
Remove xml support from test wrapper.
Browse files Browse the repository at this point in the history
DejaGNU's XML output is not the same as jUnit's format.
  • Loading branch information
jaqx0r committed Apr 5, 2024
1 parent 47d2540 commit 7449ad7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions testsuite/dejagnu_runtest_wrapper.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,17 @@ pwd

ls -laLR

cleanup () {
mv $TEST_UNDECLARED_OUTPUTS_DIR/{tool}.xml $XML_OUTPUT_FILE
}

trap cleanup EXIT

set -e

cat >site.exp <<EOF
set tool {tool}
set srcdir {srcdir}
set objdir `pwd`
info exists env(COVERAGE_DIR)
EOF

cat site.exp

export DEJAGNULIBS="{libdir}"

{runtest} --global_init site.exp --xml --status --all --debug -v -v --tool {tool} --srcdir {srcdir} --outdir $TEST_UNDECLARED_OUTPUTS_DIR
{runtest} --global_init site.exp --status --all --debug -v -v --tool {tool} --srcdir {srcdir} --outdir $TEST_UNDECLARED_OUTPUTS_DIR

0 comments on commit 7449ad7

Please sign in to comment.