summaryrefslogtreecommitdiff
path: root/tests/runtest.sh
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-02-21 23:33:55 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-02-21 15:33:55 +0100
commit6fbc4b8484c8259a4a8ff1ca985a52c9ab559e69 (patch)
tree0ed2c23826d6252525a228fbd6aecd2248d03c14 /tests/runtest.sh
parent889a3f148ed3f056f2653cef0c6400a533b7e72c (diff)
downloadcoreclr-6fbc4b8484c8259a4a8ff1ca985a52c9ab559e69.tar.gz
coreclr-6fbc4b8484c8259a4a8ff1ca985a52c9ab559e69.tar.bz2
coreclr-6fbc4b8484c8259a4a8ff1ca985a52c9ab559e69.zip
Add --xunitOutputPath option to runtest.sh (#9646)
Diffstat (limited to 'tests/runtest.sh')
-rwxr-xr-xtests/runtest.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh
index 743e14eb99..9b837182ed 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -60,6 +60,7 @@ function print_usage {
echo ' --build-overlay-only : Exit after overlay directory is populated'
echo ' --limitedDumpGeneration : Enables the generation of a limited number of core dumps if test(s) crash, even if ulimit'
echo ' is zero when launching this script. This option is intended for use in CI.'
+ echo ' --xunitOutputPath=<path> : Create xUnit XML report at the specifed path (default: <test root>/coreclrtests.xml)'
echo ''
echo 'Runtime Code Coverage options:'
echo ' --coreclr-coverage : Optional argument to get coreclr code coverage reports'
@@ -1075,6 +1076,9 @@ do
--limitedDumpGeneration)
limitedCoreDumps=ON
;;
+ --xunitOutputPath=*)
+ xunitOutputPath=${i#*=}
+ ;;
*)
echo "Unknown switch: $i"
print_usage