|
1 |
| -<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="Current" InitialTargets="PrepareDLLs"> |
2 | 2 | <PropertyGroup>
|
3 | 3 | <!-- Needed for CLRTestTargetUnsupported, GCStressIncompatible, CrossGenTest -->
|
4 | 4 | <RequiresProcessIsolation>true</RequiresProcessIsolation>
|
|
14 | 14 | <ItemGroup>
|
15 | 15 | <Compile Include="Program.cs" />
|
16 | 16 | </ItemGroup>
|
| 17 | + |
| 18 | + <Target Name="PrepareDLLs"> |
| 19 | + <MSBuild Projects="..\crossgen2\crossgen2smoke.csproj" Properties="OutputPath=$(OutputPath)\crossgen2smoke" /> |
| 20 | + <Delete Files="$(OutputPath)\crossgen2smoke\crossgen2smoke.sh" /> |
| 21 | + </Target> |
| 22 | + |
17 | 23 | <PropertyGroup>
|
18 | 24 | <CLRTestBatchPreCommands><![CDATA[
|
19 | 25 | $(CLRTestBatchPreCommands)
|
20 | 26 | set CoreRT_DeterminismSeed=1
|
21 |
| -%Core_Root%\CoreRun.exe %Core_Root%\crossgen2\crossgen2.dll --map -r:%Core_Root%\*.dll -r:..\..\crossgen2\crossgen2smoke\helperdll.dll -r:..\..\crossgen2\crossgen2smoke\helperildll.dll -o:crossgen2smoke1.ildll ..\..\crossgen2\crossgen2smoke\crossgen2smoke.dll |
| 27 | +%Core_Root%\CoreRun.exe %Core_Root%\crossgen2\crossgen2.dll --map -r:%Core_Root%\*.dll -r:.\crossgen2smoke\helperdll.dll -r:.\crossgen2smoke\helperildll.dll -o:crossgen2smoke1.ildll .\crossgen2smoke\crossgen2smoke.dll |
22 | 28 | set CoreRT_DeterminismSeed=2
|
23 |
| -%Core_Root%\CoreRun.exe %Core_Root%\crossgen2\crossgen2.dll --map -r:%Core_Root%\*.dll -r:..\..\crossgen2\crossgen2smoke\helperdll.dll -r:..\..\crossgen2\crossgen2smoke\helperildll.dll -o:crossgen2smoke2.ildll ..\..\crossgen2\crossgen2smoke\crossgen2smoke.dll |
| 29 | +%Core_Root%\CoreRun.exe %Core_Root%\crossgen2\crossgen2.dll --map -r:%Core_Root%\*.dll -r:.\crossgen2smoke\helperdll.dll -r:.\crossgen2smoke\helperildll.dll -o:crossgen2smoke2.ildll .\crossgen2smoke\crossgen2smoke.dll |
24 | 30 | ]]></CLRTestBatchPreCommands>
|
25 | 31 | <CLRTestBashPreCommands><![CDATA[
|
26 | 32 | $(CLRTestBashPreCommands)
|
27 | 33 | export CoreRT_DeterminismSeed=1
|
28 |
| -$CORE_ROOT/corerun $CORE_ROOT/crossgen2/crossgen2.dll --map -r:$CORE_ROOT/*.dll -r:../../crossgen2/crossgen2smoke/helperdll.dll -r:../../crossgen2/crossgen2smoke/helperildll.dll -o:crossgen2smoke1.ildll ../../crossgen2/crossgen2smoke/crossgen2smoke.dll |
| 34 | +$CORE_ROOT/corerun $CORE_ROOT/crossgen2/crossgen2.dll --map -r:$CORE_ROOT/*.dll -r:./crossgen2smoke/helperdll.dll -r:./crossgen2smoke/helperildll.dll -o:crossgen2smoke1.ildll ./crossgen2smoke/crossgen2smoke.dll |
29 | 35 | export CoreRT_DeterminismSeed=2
|
30 |
| -$CORE_ROOT/corerun $CORE_ROOT/crossgen2/crossgen2.dll --map -r:$CORE_ROOT/*.dll -r:../../crossgen2/crossgen2smoke/helperdll.dll -r:../../crossgen2/crossgen2smoke/helperildll.dll -o:crossgen2smoke2.ildll ../../crossgen2/crossgen2smoke/crossgen2smoke.dll |
| 36 | +$CORE_ROOT/corerun $CORE_ROOT/crossgen2/crossgen2.dll --map -r:$CORE_ROOT/*.dll -r:./crossgen2smoke/helperdll.dll -r:./crossgen2smoke/helperildll.dll -o:crossgen2smoke2.ildll ./crossgen2smoke/crossgen2smoke.dll |
31 | 37 | ]]></CLRTestBashPreCommands>
|
32 | 38 | </PropertyGroup>
|
33 | 39 | </Project>
|
0 commit comments