summaryrefslogtreecommitdiff
path: root/tests/src/CLRTest.Execute.Batch.targets
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2016-10-28 12:55:57 -0700
committerSven Boemer <sbomer@gmail.com>2016-11-21 14:21:56 -0800
commit37139ef1a7631e618ee587287b48d49dad04be94 (patch)
treecd709a65a8eef1d52ab18b06e1adcc5bacf2681d /tests/src/CLRTest.Execute.Batch.targets
parent13ee34fc2c5cdff0bf8effb04fe870ac82c46ff1 (diff)
downloadcoreclr-37139ef1a7631e618ee587287b48d49dad04be94.tar.gz
coreclr-37139ef1a7631e618ee587287b48d49dad04be94.tar.bz2
coreclr-37139ef1a7631e618ee587287b48d49dad04be94.zip
Enable jit disasm in test scripts
This change adds a section to the generated bash/cmd scripts for each test that will run jit-dasm on the test dll when runtests is invoked with the jitdasm flag. Also begin updating netci.groovy to support jit-diff scenario. Other minor fixes: - Add corefxlab feed for System.CommandLine test dependency Without this, restoring the test dependencies retrieved an obsolete package of the same name from nuget.org. - Skip jit-diff job generation for arm This fixes an assert that was checking that we are in the default scenario on arm. - Fix an assert in netci.groovy - Add branch that skips non-checked configurations for jitdiff scenario. - Fix some dasm failures and a typo in dasm job name - Some jit-dasm runs were failing because the dependencies in the current directory wasn't included in the arguments. - Escape argument to jit-dasm - increase timeout for jit-diff job - Put PR job under a trigger, and some temporary changes for testing - Make PR trigger look for comment - Update Newtonsoft.Json version for compatibility with cijobs - Update cijobs version for retrieving job by commit - Temporarily run only one test - Archive raw dasm output instead of zip - Remove pr-specific logic, enable framework dasm - Remove windows System.Private.CoreLib.ni.dll from test overlay The new test runtime dependencies were placing System.Private.CoreLib.ni.dll in the core_root directory, which resulted in the native image for windows being placed in the coreoverlay directory. We already had similar logic handling this case for mscorlib.ni.dll. This change also fixes the framework dasm output directory to match the test dasm output directory, and fixes some typos in the generated .sh files for running dasm on linux. - Add dasm archiving on non-windows jobs - Use core_root in bash scripts
Diffstat (limited to 'tests/src/CLRTest.Execute.Batch.targets')
-rw-r--r--tests/src/CLRTest.Execute.Batch.targets4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/CLRTest.Execute.Batch.targets b/tests/src/CLRTest.Execute.Batch.targets
index d118db724b..5de78b42f6 100644
--- a/tests/src/CLRTest.Execute.Batch.targets
+++ b/tests/src/CLRTest.Execute.Batch.targets
@@ -95,7 +95,7 @@ IF NOT "!ERRORLEVEL!"=="0" (
<Target Name="GenerateBatchExecutionScript"
Inputs="$(MSBuildProjectFullPath)"
Outputs="$(OutputPath)\$(MSBuildProjectName).cmd"
- DependsOnTargets="FetchExternalProperties;$(BatchScriptSnippetGen);GetIlasmRoundTripBatchScript">
+ DependsOnTargets="FetchExternalProperties;$(BatchScriptSnippetGen);GetJitDisasmBatchScript;GetIlasmRoundTripBatchScript">
<Message Text="Project depends on $(_CLRTestToRunFileFullPath)." Condition="'$(_CLRTestNeedsProjectToRun)' == 'True'" />
@@ -327,6 +327,8 @@ $(BatchEnvironmentVariables)
$(BatchCLRTestEnvironmentCompatibilityCheck)
+$(JitDisasmBatchScript)
+
REM IlasmRoundTrip Script
$(IlasmRoundTripBatchScript)