未验证 提交 020f1a2a 编写于 作者: C Chris Sienkiewicz 提交者: GitHub

Use TestRuntimeAdditionalArguments from Arcade: (#34296)

- Remove invoke mono script
 - Pass through debug flag via supported arcade mechanism instead
上级 0cd024cf
......@@ -234,19 +234,19 @@ function BuildSolution {
local test=false
local test_runtime=""
local mono_tool=""
local test_runtime_args=""
if [[ "$test_mono" == true ]]; then
mono_path="$scriptroot/invoke-mono.sh"
# Echo out the mono version to the comamnd line so it's visible in CI logs. It's not fixed
mono_path=`command -v mono`
# Echo out the mono version to the command line so it's visible in CI logs. It's not fixed
# as we're using a feed vs. a hard coded package.
if [[ "$ci" == true ]]; then
mono --version
chmod +x "$mono_path"
fi
test=true
test_runtime="/p:TestRuntime=Mono"
mono_tool="/p:MonoTool=\"$mono_path\""
test_runtime_args="--debug"
elif [[ "$test_core_clr" == true ]]; then
test=true
test_runtime="/p:TestRuntime=Core /p:TestTargetFrameworks=netcoreapp3.0%3Bnetcoreapp2.1"
......@@ -273,6 +273,7 @@ function BuildSolution {
/p:ContinuousIntegrationBuild=$ci \
/p:TreatWarningsAsErrors=true \
/p:RestoreDisableParallel=$disable_parallel_restore \
/p:TestRuntimeAdditionalArguments=$test_runtime_args \
$test_runtime \
$mono_tool \
$properties
......
#!/usr/bin/env bash
#
# Copyright (c) .NET Foundation and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
#
# invoke mono with debug flags
mono --debug "$@"
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册