From 05327a2cceb061cdcad660b802e5f6c448f35dd1 Mon Sep 17 00:00:00 2001 From: Sven Boemer Date: Wed, 30 Nov 2016 10:29:59 -0800 Subject: [PATCH] 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 --- netci.groovy | 4 ++-- tests/src/CLRTest.Jit.targets | 13 +++++++------ tests/src/Common/test_runtime/project.json | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) 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)))