diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2019-02-21 21:50:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 21:50:06 -0800 |
commit | 82c4573473ebca2eb59a6cd074c7bef8914798d5 (patch) | |
tree | 078ee3f479dbba7adc1e00fdaaf4e987eb6ebe47 /tests | |
parent | bd84f468ac3f82847669d49614d01eba8dd2a9a0 (diff) | |
download | coreclr-82c4573473ebca2eb59a6cd074c7bef8914798d5.tar.gz coreclr-82c4573473ebca2eb59a6cd074c7bef8914798d5.tar.bz2 coreclr-82c4573473ebca2eb59a6cd074c7bef8914798d5.zip |
Fix CoreFX build break. (#22773)
* Fix CoreFX build break.
Introduced by https://github.com/dotnet/corefx/pull/34385.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scripts/run-corefx-tests.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/scripts/run-corefx-tests.py b/tests/scripts/run-corefx-tests.py index 76adfe2d54..6d112d69ac 100644 --- a/tests/scripts/run-corefx-tests.py +++ b/tests/scripts/run-corefx-tests.py @@ -288,7 +288,16 @@ def main(args): # Gather up some arguments to pass to the different build scripts. - config_args = '-Release /p:OSGroup=%s /p:ArchGroup=%s' % (clr_os, arch) + config_args = '-c Release /p:OSGroup=%s /p:ArchGroup=%s' % (clr_os, arch) + + if Is_windows: + config_args += ' -restore -build -buildtests' + if not no_run_tests: + config_args += ' -test' + else: + config_args += ' --restore --build --buildtests' + if not no_run_tests: + config_args += ' --test' build_args = config_args @@ -326,9 +335,9 @@ def main(args): # Build the test command line. if Is_windows: - command = 'build.cmd -test' + command = 'build.cmd' else: - command = './build.sh -test' + command = './build.sh' # If we're doing altjit testing, then don't run any tests that don't work with altjit. if ci_arch is not None and (ci_arch == 'x86_arm_altjit' or ci_arch == 'x64_arm64_altjit'): @@ -361,7 +370,6 @@ def main(args): command = ' '.join(( command, config_args, - '-SkipTests' if no_run_tests else '', without_categories )) |