diff options
author | Swaroop Sridhar <Swaroop.Sridhar@microsoft.com> | 2015-03-04 17:13:41 -0800 |
---|---|---|
committer | Swaroop Sridhar <Swaroop.Sridhar@microsoft.com> | 2015-03-04 17:13:41 -0800 |
commit | 0d7dcc01d90b21d972f7bff12989403247c6cd80 (patch) | |
tree | 934b1398acfe07cd4098f1353cc822bf7f4907cf /tests/src/dir.props | |
parent | 13066506128678ff58bd2dcc5f23007e8ccf6f14 (diff) | |
download | coreclr-0d7dcc01d90b21d972f7bff12989403247c6cd80.tar.gz coreclr-0d7dcc01d90b21d972f7bff12989403247c6cd80.tar.bz2 coreclr-0d7dcc01d90b21d972f7bff12989403247c6cd80.zip |
Add Support for Custom Test Environment Settings
RunTest.Cmd had limited suport for setting test environment
(ex: Specifying use of alternate Jit)
This change generalizes this support so that the clients can specify a
test environment script that will be run to set custom settings in
the test-environment.
Usage is:
Runtest TestEnv <test-env-script> ...
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r-- | tests/src/dir.props | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props index 13dca4c8da..123ba703b6 100644 --- a/tests/src/dir.props +++ b/tests/src/dir.props @@ -11,7 +11,7 @@ <!-- Enable alternative JIT for testing if specified --> <PropertyGroup> - <_CLRTestPreCommands>IF NOT "%__EnableAltJit%"=="" set COMPLus_AltJit=*;IF NOT "%__EnableAltJit%"=="" set COMPLus_AltJitName=%Alt_Jit_Name%.dll</_CLRTestPreCommands> + <_CLRTestPreCommands>IF NOT "%__TestEnv%"=="" call %__TestEnv%</_CLRTestPreCommands> </PropertyGroup> </Project> |