From: Sven Boemer Date: Wed, 30 Nov 2016 18:29:59 +0000 (-0800) Subject: Fix some problems with the ubuntu dasm output X-Git-Tag: accepted/tizen/base/20180629.140029~2632^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05327a2cceb061cdcad660b802e5f6c448f35dd1;p=platform%2Fupstream%2Fcoreclr.git Fix some problems with the ubuntu dasm output - Re-enable the default build archiving in jitdiff scenarios so that the windows _bld job will publish correct build artifacts for the ubuntu_jitdiff_tst job to consume. - Use relative paths in the generated scripts to avoid drive letters in bash scripts. - Fix exit code reporting in bash wrapper scripts. - Upgrade jit-dasm version to use version with improved error handling - Upgrade jit-analyze version to use same dependencies as jit-dasm --- diff --git a/netci.groovy b/netci.groovy index aefc0a1..f7d12ad 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1877,7 +1877,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR } if (scenario == 'gcstress15_pri1r2r') { - gcstressStr = 'gcstresslevel 0xF' + gcstressStr = 'gcstresslevel 0xF' } if (scenario == 'jitdiff') @@ -1934,7 +1934,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR // 10s of thousands of files around. buildCommands += "powershell -Command \"Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('.\\bin\\tests\\${osGroup}.${arch}.${configuration}', '.\\bin\\tests\\tests.zip')\""; - if (!Constants.jitStressModeScenarios.containsKey(scenario) && scenario != 'jitdiff') { + if (!Constants.jitStressModeScenarios.containsKey(scenario)) { // For windows, pull full test results and test drops for x86/x64. // No need to pull for stress mode scenarios (downstream builds use the default scenario) Utilities.addArchival(newJob, "bin/Product/**,bin/tests/tests.zip") diff --git a/tests/src/CLRTest.Jit.targets b/tests/src/CLRTest.Jit.targets index 4eb6327..1a0b5e3 100644 --- a/tests/src/CLRTest.Jit.targets +++ b/tests/src/CLRTest.Jit.targets @@ -25,17 +25,18 @@ WARNING: When setting properties based on their current state (for example: $([MSBuild]::MakeRelative($(OutputPath), $(_CLRTestToRunFileFullPath)).Replace("\","/")) $(MSBuildProjectName).exe - $(BaseOutputPathWithConfig.Replace("\","/"))dasm/$(BuildProjectRelativeDir.Replace("\","/")) + $([MSBuild]::MakeRelative($(OutputPath), $(BaseOutputPathWithConfig)dasm\$(BuildProjectRelativeDir)).Replace("\","/")) $([MSBuild]::MakeRelative($(OutputPath), $(_CLRTestToRunFileFullPath))) $(MSBuildProjectName).exe - $(BaseOutputPathWithConfig)dasm\$(BuildProjectRelativeDir) + $([MSBuild]::MakeRelative($(OutputPath), $(BaseOutputPathWithConfig)dasm\$(BuildProjectRelativeDir)))