[Tizen] Add support for gbs build for i586, x86_64, armv7l, armv7hl, aarch64 (includi...
[platform/upstream/dotnet/runtime.git] / src / tests / baseservices / TieredCompilation / BasicTestWithMcj.csproj
1 <Project Sdk="Microsoft.NET.Sdk">
2   <PropertyGroup>
3     <OutputType>Exe</OutputType>
4     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5     <Optimize>true</Optimize>
6     <CLRTestPriority>0</CLRTestPriority>
7     <!-- Generated shell script and corresponding assembly have different names -->
8     <CLRTestTargetUnsupported Condition="'$(TargetOS)' == 'Android'">true</CLRTestTargetUnsupported>
9   </PropertyGroup>
10   <ItemGroup>
11     <Compile Include="BasicTestWithMcj.cs" />
12   </ItemGroup>
13   <ItemGroup>
14     <None Include="RunBasicTestWithMcj.cmd">
15       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
16     </None>
17     <None Include="RunBasicTestWithMcj.sh">
18       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
19     </None>
20   </ItemGroup>
21   <PropertyGroup>
22     <CLRTestBatchPreCommands><![CDATA[
23 $(CLRTestBatchPreCommands)
24 mkdir r2r
25
26 REM Suppress some COMPlus variables for the duration of Crossgen2 execution
27 setlocal
28 set "COMPlus_GCName="
29 set "COMPlus_GCStress="
30 set "COMPlus_HeapVerify="
31 set "COMPlus_ReadyToRun="
32
33 "%CORE_ROOT%\corerun" %CORE_ROOT%\crossgen2\crossgen2.dll --out r2r\$(MSBuildProjectName).dll $(MSBuildProjectName).dll -r %CORE_ROOT%\*.dll
34
35 endlocal
36 set CLRCustomTestLauncher=RunBasicTestWithMcj.cmd --runCustomTest
37 ]]></CLRTestBatchPreCommands>
38     <BashCLRTestPreCommands><![CDATA[
39 $(BashCLRTestPreCommands)
40 mkdir r2r
41
42 # Suppress some COMPlus variables for the duration of Crossgen2 execution
43 export -n COMPlus_GCName COMPlus_GCStress COMPlus_HeapVerify COMPlus_ReadyToRun
44
45 "$CORE_ROOT/corerun" $CORE_ROOT/crossgen2/crossgen2.dll $CrossGen2Options --out r2r/$(MSBuildProjectName).dll $(MSBuildProjectName).dll -r $CORE_ROOT/*.dll
46
47 export COMPlus_GCName COMPlus_GCStress COMPlus_HeapVerify COMPlus_ReadyToRun
48 chmod +x ./RunBasicTestWithMcj.sh
49 export CLRCustomTestLauncher="./RunBasicTestWithMcj.sh --runCustomTest"
50 ]]></BashCLRTestPreCommands>
51   </PropertyGroup>
52 </Project>