summaryrefslogtreecommitdiff
path: root/tests/src/CLRTest.Execute.Bash.targets
diff options
context:
space:
mode:
authorwtgodbe <wigodbe@microsoft.com>2017-06-09 13:32:31 -0700
committerwtgodbe <wigodbe@microsoft.com>2017-06-15 14:37:29 -0700
commit2d58bb520fc8beabddeff1a1ba70438ac4192bf0 (patch)
tree37816b45335f7c75bb55265505f56f27ec1bd80e /tests/src/CLRTest.Execute.Bash.targets
parent8c4dfb133c7a4d162fdd1030c6316397ab6b892d (diff)
downloadcoreclr-2d58bb520fc8beabddeff1a1ba70438ac4192bf0.tar.gz
coreclr-2d58bb520fc8beabddeff1a1ba70438ac4192bf0.tar.bz2
coreclr-2d58bb520fc8beabddeff1a1ba70438ac4192bf0.zip
Fix timing issues in some baseservices tests
Diffstat (limited to 'tests/src/CLRTest.Execute.Bash.targets')
-rw-r--r--tests/src/CLRTest.Execute.Bash.targets8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/src/CLRTest.Execute.Bash.targets b/tests/src/CLRTest.Execute.Bash.targets
index a5727414b0..10f4aa612d 100644
--- a/tests/src/CLRTest.Execute.Bash.targets
+++ b/tests/src/CLRTest.Execute.Bash.targets
@@ -255,9 +255,15 @@ fi
ExePath=$(InputAssemblyName)
$(BashLinkerTestLaunchCmds)
$(BashCLRTestLaunchCmds)
+if [ ! -z ${RunCrossGen+x} ]%3B then
+ TakeLock
+fi
echo $_DebuggerFullPath $(_CLRTestRunFile) $ExePath $CLRTestExecutionArguments
$_DebuggerFullPath $(_CLRTestRunFile) $ExePath $CLRTestExecutionArguments
CLRTestExitCode=$?
+if [ ! -z ${RunCrossGen+x} ]%3B then
+ ReleaseLock
+fi
$(BashLinkerTestCleanupCmds)
]]></BashCLRTestLaunchCmds>
<BashCLRTestLaunchCmds Condition="'$(CLRTestKind)' == 'RunOnly'"><![CDATA[
@@ -390,4 +396,4 @@ $(BashCLRTestExitCodeCheck)
Overwrite="true" />
</Target>
-</Project>
+</Project> \ No newline at end of file