nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
benchs: produce .xml files conform with junit
[nit.git]
/
benchmarks
/
bench_engines.sh
diff --git
a/benchmarks/bench_engines.sh
b/benchmarks/bench_engines.sh
index
3737424
..
385d033
100755
(executable)
--- a/
benchmarks/bench_engines.sh
+++ b/
benchmarks/bench_engines.sh
@@
-103,6
+103,9
@@
while [ "$stop" = false ]; do
esac
done
esac
done
+xml="bench_engines.xml"
+echo "<testsuites><testsuite>" > "$xml"
+
NOTSKIPED="$*"
if test -z "$NOTSKIPED"; then
NOTSKIPED="$*"
if test -z "$NOTSKIPED"; then
@@
-332,6
+335,8
@@
if test -n "$html"; then
echo >>"$html" "</body></html>"
fi
echo >>"$html" "</body></html>"
fi
+echo >>"$xml" "</testsuite></testsuites>"
+
if test -n "$died"; then
echo "Some commands failed"
exit 1
if test -n "$died"; then
echo "Some commands failed"
exit 1