summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorSean Gillespie <segilles@microsoft.com>2016-06-16 16:30:54 -0700
committerSean Gillespie <segilles@microsoft.com>2016-06-16 16:30:54 -0700
commit8964be339e7836c1da8acae1d1c47d4ca4aee6e2 (patch)
tree5bad6a8ddeedd096419a696a6984426b70d84a33 /tests/src
parentd3ab0326868872a0d65d7cd092fcbd4cdf253a72 (diff)
downloadcoreclr-8964be339e7836c1da8acae1d1c47d4ca4aee6e2.tar.gz
coreclr-8964be339e7836c1da8acae1d1c47d4ca4aee6e2.tar.bz2
coreclr-8964be339e7836c1da8acae1d1c47d4ca4aee6e2.zip
Fix GC test batch script skip conditions that were behaving unexpectedly
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/CLRTest.GC.targets8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/src/CLRTest.GC.targets b/tests/src/CLRTest.GC.targets
index 645ce0130c..90b9398a40 100644
--- a/tests/src/CLRTest.GC.targets
+++ b/tests/src/CLRTest.GC.targets
@@ -56,14 +56,14 @@ fi
<BashCLRTestPreCommands>$(BashCLRTestPreCommands);$(GCLongGCTestBashScript);$(GCSimulatorTestBashScript)</BashCLRTestPreCommands>
<GCLongGCTestBatchScript Condition="'$(IsLongRunningGCTest)' != 'true'"><![CDATA[
REM Long GC script
-IF NOT "%RunningLongGCTests%"=="" (
+if defined RunningLongGCTests (
echo Skipping execution because this is not a long-running GC test.
Exit /b 0
)
]]></GCLongGCTestBatchScript>
<GCLongGCTestBatchScript Condition="'$(IsLongRunningGCTest)' == 'true'"><![CDATA[
REM Long GC script
-IF "%RunningLongGCTests%"=="" (
+if not defined RunningLongGCTests (
echo Skipping execution because long-running GC tests are not enabled.
Exit /b 0
)
@@ -72,14 +72,14 @@ IF "%RunningLongGCTests%"=="" (
<GCSimulatorTestBatchScript Condition="'$(IsGCSimulatorTest)' != 'true'"><![CDATA[
REM GCSimulator script
-IF NOT "%RunningGCSimulatorTests%"=="" (
+if defined RunningGCSimulatorTests (
echo Skipping execution because this is not a GCSimulator test.
Exit /b 0
)
]]></GCSimulatorTestBatchScript>
<GCSimulatorTestBatchScript Condition="'$(IsGCSimulatorTest)' == 'true'"><![CDATA[
REM GCSimulator script
-IF "%RunningGCSimulatorTests%"=="" (
+if not defined RunningGCSimulatorTests (
echo Skipping execution because GCSimulator tests are not enabled
Exit /b 0
)