@@ -2346,8 +2346,8 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
2346
2346
buildCommands + = " python -u %WORKSPACE%\\ tests\\ scripts\\ run-corefx-tests.py -arch ${ architecture} -ci_arch ${ architecture} -build_type ${ configuration} -fx_root ${ absoluteFxRoot} -fx_branch ${ fxBranch} -env_script ${ envScriptPath} -no_run_tests"
2347
2347
2348
2348
// Zip up the CoreFx runtime and tests. We don't need the CoreCLR binaries; they have been copied to the CoreFX tree.
2349
- buildCommands + = " powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('${ workspaceRelativeFxRootWin} \\ bin\\ testhost\\ netcoreapp-Windows_NT-Release-${ architecture} ', '${ workspaceRelativeFxRootWin} \\ fxruntime.zip')\" " ;
2350
- buildCommands + = " powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('${ workspaceRelativeFxRootWin} \\ bin\\ tests', '${ workspaceRelativeFxRootWin} \\ fxtests.zip')\" " ;
2349
+ buildCommands + = " powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('${ workspaceRelativeFxRootWin} \\ artifacts \\ bin\\ testhost\\ netcoreapp-Windows_NT-Release-${ architecture} ', '${ workspaceRelativeFxRootWin} \\ fxruntime.zip')\" " ;
2350
+ buildCommands + = " powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::CreateFromDirectory('${ workspaceRelativeFxRootWin} \\ artifacts \\ bin\\ tests', '${ workspaceRelativeFxRootWin} \\ fxtests.zip')\" " ;
2351
2351
2352
2352
Utilities . addArchival(newJob, " ${ workspaceRelativeFxRootLinux} /fxruntime.zip" )
2353
2353
Utilities . addArchival(newJob, " ${ workspaceRelativeFxRootLinux} /fxtests.zip" )
@@ -2548,8 +2548,8 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
2548
2548
buildCommands + = " ${ dockerCmd} python -u \$ WORKSPACE/tests/scripts/run-corefx-tests.py -arch ${ architecture} -ci_arch ${ architecture} -build_type ${ configuration} -fx_root ${ absoluteFxRoot} -fx_branch ${ fxBranch} -env_script ${ scriptFileName} -no_run_tests"
2549
2549
2550
2550
// Docker creates files with root permission, so we need to zip in docker also, or else we'll get permission errors.
2551
- buildCommands + = " ${ dockerCmd} zip -r ${ workspaceRelativeFxRootLinux} /fxruntime.zip ${ workspaceRelativeFxRootLinux} /bin/testhost/netcoreapp-Linux-Release-${ architecture} "
2552
- buildCommands + = " ${ dockerCmd} zip -r ${ workspaceRelativeFxRootLinux} /fxtests.zip ${ workspaceRelativeFxRootLinux} /bin/tests"
2551
+ buildCommands + = " ${ dockerCmd} zip -r ${ workspaceRelativeFxRootLinux} /fxruntime.zip ${ workspaceRelativeFxRootLinux} /artifacts/ bin/testhost/netcoreapp-Linux-Release-${ architecture} "
2552
+ buildCommands + = " ${ dockerCmd} zip -r ${ workspaceRelativeFxRootLinux} /fxtests.zip ${ workspaceRelativeFxRootLinux} /artifacts/ bin/tests"
2553
2553
2554
2554
Utilities . addArchival(newJob, " ${ workspaceRelativeFxRootLinux} /fxruntime.zip" )
2555
2555
Utilities . addArchival(newJob, " ${ workspaceRelativeFxRootLinux} /fxtests.zip" )
@@ -3065,14 +3065,14 @@ def static CreateWindowsArmTestJob(def dslFactory, def project, def architecture
3065
3065
assert architecture == ' arm' || architecture == ' arm64'
3066
3066
3067
3067
// Unzip CoreFx runtime
3068
- batchFile(" powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('_\\ fx\\ fxruntime.zip', '_\\ fx\\ bin\\ testhost\\ netcoreapp-Windows_NT-Release-${ architecture} ')\" " )
3068
+ batchFile(" powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('_\\ fx\\ fxruntime.zip', '_\\ fx\\ artifacts \\ bin\\ testhost\\ netcoreapp-Windows_NT-Release-${ architecture} ')\" " )
3069
3069
3070
3070
// Unzip CoreFx tests.
3071
- batchFile(" powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('_\\ fx\\ fxtests.zip', '_\\ fx\\ bin\\ tests')\" " )
3071
+ batchFile(" powershell -NoProfile -Command \" Add-Type -Assembly 'System.IO.Compression.FileSystem'; [System.IO.Compression.ZipFile]::ExtractToDirectory('_\\ fx\\ fxtests.zip', '_\\ fx\\ artifacts \\ bin\\ tests')\" " )
3072
3072
3073
3073
// Add the script to run the corefx tests
3074
- def corefx_runtime_path = " %WORKSPACE%\\ _\\ fx\\ bin\\ testhost\\ netcoreapp-Windows_NT-Release-${ architecture} "
3075
- def corefx_tests_dir = " %WORKSPACE%\\ _\\ fx\\ bin\\ tests"
3074
+ def corefx_runtime_path = " %WORKSPACE%\\ _\\ fx\\ artifacts \\ bin\\ testhost\\ netcoreapp-Windows_NT-Release-${ architecture} "
3075
+ def corefx_tests_dir = " %WORKSPACE%\\ _\\ fx\\ artifacts \\ bin\\ tests"
3076
3076
def corefx_exclusion_file = " %WORKSPACE%\\ tests\\ ${ architecture} \\ corefx_test_exclusions.txt"
3077
3077
batchFile(" call %WORKSPACE%\\ tests\\ scripts\\ run-corefx-tests.bat ${ corefx_runtime_path} ${ corefx_tests_dir} ${ corefx_exclusion_file} ${ architecture} " )
3078
3078
@@ -3450,7 +3450,7 @@ python -u \${WORKSPACE}/tests/scripts/run-pmi-diffs.py -arch ${architecture} -ci
3450
3450
}
3451
3451
else if (doCoreFxTesting) {
3452
3452
shell(""" \
3453
- \$ {WORKSPACE}/tests/scripts/run-corefx-tests.sh --test-exclude-file \$ {WORKSPACE}/tests/${ architecture} /corefx_linux_test_exclusions.txt --runtime \$ {WORKSPACE}/${ workspaceRelativeFxRootLinux} /bin/testhost/netcoreapp-Linux-Release-${ architecture} --arch ${ architecture} --corefx-tests \$ {WORKSPACE}/${ workspaceRelativeFxRootLinux} /bin --configurationGroup Release""" )
3453
+ \$ {WORKSPACE}/tests/scripts/run-corefx-tests.sh --test-exclude-file \$ {WORKSPACE}/tests/${ architecture} /corefx_linux_test_exclusions.txt --runtime \$ {WORKSPACE}/${ workspaceRelativeFxRootLinux} /artifacts/ bin/testhost/netcoreapp-Linux-Release-${ architecture} --arch ${ architecture} --corefx-tests \$ {WORKSPACE}/${ workspaceRelativeFxRootLinux} /artifacts /bin --configurationGroup Release""" )
3454
3454
}
3455
3455
else {
3456
3456
def runScript = " ${ dockerCmd} ./tests/runtest.sh"
@@ -3491,7 +3491,7 @@ ${runScript} \\
3491
3491
Utilities . addArchival(newJob, " dasm.${ os} .${ architecture} .${ configuration} .zip" )
3492
3492
}
3493
3493
else if (doCoreFxTesting) {
3494
- Utilities . addArchival(newJob, " ${ workspaceRelativeFxRootLinux} /bin/**/testResults.xml" )
3494
+ Utilities . addArchival(newJob, " ${ workspaceRelativeFxRootLinux} /artifacts/ bin/**/testResults.xml" )
3495
3495
if ((os == " Ubuntu" ) && (architecture == ' arm' )) {
3496
3496
// We have a problem with the xunit plug-in, where it is consistently failing on Ubuntu arm32 test result uploading with this error:
3497
3497
//
@@ -3501,7 +3501,7 @@ ${runScript} \\
3501
3501
// This is tracked by: https://github.com/dotnet/coreclr/issues/19447.
3502
3502
}
3503
3503
else {
3504
- Utilities . addXUnitDotNETResults(newJob, " ${ workspaceRelativeFxRootLinux} /bin/**/testResults.xml" )
3504
+ Utilities . addXUnitDotNETResults(newJob, " ${ workspaceRelativeFxRootLinux} /artifacts/ bin/**/testResults.xml" )
3505
3505
}
3506
3506
}
3507
3507
else {
0 commit comments