Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ usage()
echo " specified by --corefx-tests"
echo " --test-dir-file <path> Run tests only in the directories specified by the file at <path>. Paths are"
echo " listed one line, relative to the directory specified by --corefx-tests"
echo " --testTFM <project> 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"
Expand Down Expand Up @@ -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)}')"
Expand Down Expand Up @@ -214,7 +219,7 @@ run_test()
exit 0
fi

dirName="$1/netcoreapp1.0"
dirName="$1/$TestTFM"
copy_test_overlay $dirName

pushd $dirName > /dev/null
Expand Down Expand Up @@ -346,6 +351,9 @@ do
--test-dir-file)
TestDirFile=$2
;;
--testTFM)
TestTFM=$2
;;
--outerloop)
OuterLoop=""
;;
Expand Down