From 0f0604bb12342347e1759584efd68337dc25b0bf Mon Sep 17 00:00:00 2001 From: Hyeongseok Oh Date: Fri, 7 Oct 2016 14:57:55 +0900 Subject: [PATCH] Add '--testTFM' option and set default to netcoreapp1.1 in run-test.sh --- run-test.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/run-test.sh b/run-test.sh index 15829cad7cdc..54ab596042d4 100755 --- a/run-test.sh +++ b/run-test.sh @@ -48,6 +48,8 @@ usage() echo " specified by --corefx-tests" echo " --test-dir-file Run tests only in the directories specified by the file at . Paths are" echo " listed one line, relative to the directory specified by --corefx-tests" + echo " --testTFM Set TestTFM to run" + echo " default: netcoreapp1.1" echo echo "Runtime Code Coverage options:" echo " --coreclr-coverage Optional argument to get coreclr code coverage reports" @@ -103,6 +105,9 @@ esac TestSelection=".*" TestsFailed=0 +# TestTFM default +TestTFM="netcoreapp1.1" + ensure_binaries_are_present() { local LowerConfigurationGroup="$(echo $ConfigurationGroup | awk '{print tolower($0)}')" @@ -214,7 +219,7 @@ run_test() exit 0 fi - dirName="$1/netcoreapp1.0" + dirName="$1/$TestTFM" copy_test_overlay $dirName pushd $dirName > /dev/null @@ -346,6 +351,9 @@ do --test-dir-file) TestDirFile=$2 ;; + --testTFM) + TestTFM=$2 + ;; --outerloop) OuterLoop="" ;;