diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2016-01-18 13:34:07 +0100 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-02-02 10:18:16 +0100 |
commit | 14deadfd1c561a005409a9a5cb0b22b66f511391 (patch) | |
tree | 5f1387ca6e100657964eeb19dd4f4fb5ed7be33f /tests/src/readytorun/mainv2.csproj | |
parent | d876143bc87775b6c38eac4312cfc2dcbe5c0f3a (diff) | |
download | coreclr-14deadfd1c561a005409a9a5cb0b22b66f511391.tar.gz coreclr-14deadfd1c561a005409a9a5cb0b22b66f511391.tar.bz2 coreclr-14deadfd1c561a005409a9a5cb0b22b66f511391.zip |
Enable ready to run tests on Unix
This change enables running ready to run tests on Unix.
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> |