summaryrefslogtreecommitdiff
path: root/tests/src/CLRTest.Execute.Batch.targets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/CLRTest.Execute.Batch.targets')
-rw-r--r--tests/src/CLRTest.Execute.Batch.targets8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/src/CLRTest.Execute.Batch.targets b/tests/src/CLRTest.Execute.Batch.targets
index 545fc72..dfd87ba 100644
--- a/tests/src/CLRTest.Execute.Batch.targets
+++ b/tests/src/CLRTest.Execute.Batch.targets
@@ -261,9 +261,15 @@ set ExePath=$(InputAssemblyName)
$(BatchLinkerTestLaunchCmds)
$(BatchCLRTestLaunchCmds)
+if defined RunCrossGen (
+ call :TakeLock
+)
ECHO %LAUNCHER% %ExePath% %CLRTestExecutionArguments%
%LAUNCHER% %ExePath% %CLRTestExecutionArguments%
set CLRTestExitCode=!ERRORLEVEL!
+if defined RunCrossGen (
+ call :ReleaseLock
+)
$(BatchLinkerTestCleanupCmds)
]]></BatchCLRTestLaunchCmds>
@@ -385,4 +391,4 @@ $(BatchCLRTestExitCodeCheck)
Overwrite="true" />
</Target>
-</Project>
+</Project> \ No newline at end of file