Add --xunitOutputPath option to runtest.sh (dotnet/coreclr#9646)
authorJonghyun Park <parjong@gmail.com>
Tue, 21 Feb 2017 14:33:55 +0000 (23:33 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 21 Feb 2017 14:33:55 +0000 (15:33 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/6fbc4b8484c8259a4a8ff1ca985a52c9ab559e69

src/coreclr/tests/runtest.sh

index 743e14e..9b83718 100755 (executable)
@@ -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