Fix test runner batch file to provide correct TPA path
authorRahul Kumar <rahku@microsoft.com>
Thu, 23 Jun 2016 00:14:38 +0000 (17:14 -0700)
committerRahul Kumar <rahku@microsoft.com>
Thu, 23 Jun 2016 00:14:38 +0000 (17:14 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/f65ea62a24425dc832e6c0869e2901d768bed7fb

src/coreclr/tests/src/CLRTest.CrossGen.targets

index 4bb8663..d91bdcc 100644 (file)
@@ -77,8 +77,8 @@ if defined RunCrossGen (
         call :TakeLock
         set CrossGenStatus=0
         if not exist "$(MSBuildProjectName).ni.exe" (
-            echo "%_DebuggerFullPath% %CORE_ROOT%\crossgen.exe" /Platform_Assemblies_Paths %CORE_ROOT%%3B%~dp0 $(MSBuildProjectName).exe
-            %_DebuggerFullPath% "%CORE_ROOT%\crossgen.exe" /Platform_Assemblies_Paths %CORE_ROOT%%3B%~dp0 $(MSBuildProjectName).exe
+            echo "%_DebuggerFullPath% %CORE_ROOT%\crossgen.exe" /Platform_Assemblies_Paths %CORE_ROOT%%3B%25cd%25 $(MSBuildProjectName).exe
+            %_DebuggerFullPath% "%CORE_ROOT%\crossgen.exe" /Platform_Assemblies_Paths %CORE_ROOT%%3B%25cd%25 $(MSBuildProjectName).exe
             set CrossGenStatus=!ERRORLEVEL!
         )
         call :ReleaseLock