From e380f2c2751ec539a1acd4cf0c027ab62d845328 Mon Sep 17 00:00:00 2001 From: Kyungwoo Lee Date: Fri, 1 Jan 2016 06:25:29 -0800 Subject: Enable ilasm round trip test for xPlatforms 1. Enable CLRTest.Execute.Bash.targets similar to CLRTest.Execute.Batch.targets. 2. _IlasmSwitches uses '-' instead of '/' 3. Disable optimization on the prebuilt asmparse.c due to https://github.com/dotnet/coreclr/issues/2305 --- tests/src/CLRTest.Execute.Bash.targets | 64 ++++++++++++++++++++++++++++------ 1 file changed, 54 insertions(+), 10 deletions(-) (limited to 'tests/src/CLRTest.Execute.Bash.targets') diff --git a/tests/src/CLRTest.Execute.Bash.targets b/tests/src/CLRTest.Execute.Bash.targets index f0543f714a..042aa8b7da 100644 --- a/tests/src/CLRTest.Execute.Bash.targets +++ b/tests/src/CLRTest.Execute.Bash.targets @@ -52,6 +52,41 @@ fi + + + $([MSBuild]::MakeRelative($(OutputPath), $(_CLRTestToRunFileFullPath)).Replace("\","/")) + $(MSBuildProjectName).exe + $(MSBuildProjectName).dasm.il + $(MSBuildProjectName).asm.exe + + false + + + + + + + @@ -95,7 +130,7 @@ fi + DependsOnTargets="FetchExternalProperties;GetCrossgenBashScript;GetIlasmRoundTripBashScript"> @@ -148,15 +183,22 @@ fi - <_CLRTestRunFile Condition="'$(_CLRTestNeedsProjectToRun)' == 'true'">$(_CLRTestToRunFileFullPath) - <_CLRTestRunFile Condition=" '$(CLRTestIsHosted)'=='true' AND $(_CLRTestNeedsProjectToRun) ">"$CORE_ROOT/corerun" $([MSBuild]::MakeRelative($(OutputPath), $(_CLRTestToRunFileFullPath)).Replace("\","/")) - - <_CLRTestRunFile Condition="'$(_CLRTestNeedsProjectToRun)' == 'false'">"$(MSBuildProjectName).exe" - <_CLRTestRunFile Condition=" '$(CLRTestIsHosted)'=='true' AND !$(_CLRTestNeedsProjectToRun) ">"$CORE_ROOT/corerun" $(_CLRTestRunFile) + <_CLRTestRunFile Condition="'$(CLRTestIsHosted)'=='true'">"$CORE_ROOT/corerun" + - @@ -232,6 +274,8 @@ $(BashCLRTestArgPrep) $(BashCLRTestExitCodePrep) # CrossGen Script (when /p:CrossGen=true) $(CrossgenBashScript) +# IlasmRoundTrip Script +$(IlasmRoundTripBashScript) # PreCommands $(_BashCLRTestPreCommands) # Launch @@ -255,4 +299,4 @@ $(BashCLRTestExitCodeCheck) Overwrite="true" /> - \ No newline at end of file + -- cgit v1.2.3