diff options
Diffstat (limited to 'tests/src/readytorun/mainv2.csproj')
-rw-r--r-- | tests/src/readytorun/mainv2.csproj | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/tests/src/readytorun/mainv2.csproj b/tests/src/readytorun/mainv2.csproj index bcd9ba715c..aa7d0a84d2 100644 --- a/tests/src/readytorun/mainv2.csproj +++ b/tests/src/readytorun/mainv2.csproj @@ -48,12 +48,23 @@ <PropertyGroup> <CLRTestBatchPreCommands><![CDATA[ $(CLRTestBatchPreCommands) -IF not exist NI mkdir NI -COPY /Y testv1\test.dll test.dll -%Core_Root%\crossgen /readytorun /platform_assemblies_paths %Core_Root%%3B%25CD% /out NI\mainv2.ni.exe mainv2.exe -COPY /Y testv2\test.dll test.dll -%Core_Root%\crossgen /readytorun /platform_assemblies_paths %Core_Root%%3B%25CD% /out NI\test.ni.dll test.dll +DEL test.dll +COPY /Y ..\testv1\test\test.dll test.dll +%Core_Root%\crossgen /readytorun /platform_assemblies_paths %Core_Root%%3B%25CD% /out mainv2.ni.exe mainv2.exe +DEL test.dll +COPY /Y ..\testv2\test\test.dll test.dll +%Core_Root%\crossgen /readytorun /platform_assemblies_paths %Core_Root%%3B%25CD% /out test.ni.dll test.dll ]]></CLRTestBatchPreCommands> + <BashCLRTestPreCommands><![CDATA[ +$(BashCLRTestPreCommands) +rm test.dll +cp ../testv1/test/test.dll test.dll +$CORE_ROOT/crossgen -readytorun -platform_assemblies_paths $CORE_ROOT:`pwd` -out mainv2.ni.exe mainv2.exe +rm test.dll +cp ../testv2/test/test.dll test.dll +$CORE_ROOT/crossgen -readytorun -platform_assemblies_paths $CORE_ROOT:`pwd` -out test.ni.dll test.dll + +]]></BashCLRTestPreCommands> </PropertyGroup> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> </Project> |