Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eng/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ if ($bundletools) {
$test = $False
}

if ($testInterpreter) {
$env:SOS_TEST_INTERPRETER="true"
}

# Build native components
if (-not $skipnative) {
Invoke-Expression "& `"$engroot\Build-Native.cmd`" -architecture $architecture -configuration $configuration -verbosity $verbosity $remainingargs"
Expand Down Expand Up @@ -119,10 +123,6 @@ if ($test) {
$env:SOS_TEST_DAC_MODE=$dacMode
}

if ($testInterpreter) {
$env:SOS_TEST_INTERPRETER="true"
}

# Build the test filter argument if provided
# Use backslash-escaped quotes so they survive the additional quoting in tools.ps1
$testFilterArg = ''
Expand Down
8 changes: 4 additions & 4 deletions eng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ if [[ -n "$__CDacPath" && "$__DacMode" != "cdac" ]]; then
exit 1
fi

if [[ "$__TestInterpreter" == 1 ]]; then
export SOS_TEST_INTERPRETER="true"
fi

__LogsDir="$__RootBinDir/log/$__BuildType"
__ConfigTriplet="$__TargetOS.$__TargetArch.$__BuildType"
__BinDir="$__RootBinDir/bin/$__ConfigTriplet"
Expand Down Expand Up @@ -352,10 +356,6 @@ if [[ "$__Test" == 1 ]]; then
export SOS_TEST_DAC_MODE="$__DacMode"
fi

if [[ "$__TestInterpreter" == 1 ]]; then
export SOS_TEST_INTERPRETER="true"
fi

# Build the test filter argument if provided
__TestFilterArg=
if [[ -n "$__TestFilter" ]]; then
Expand Down
Loading