Skip to content

Commit f36318f

Browse files
committed
use framework-specific build of perf tests in xplat and generic otherwise
1 parent 419bddf commit f36318f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/appveyor_run_tests.ps1

+6-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@ if ($CS_STATUS -ne 0) {
4545
} else {
4646
# Run C# Performance tests
4747
Write-Host ("Starting performance tests") -ForegroundColor "Green"
48-
$CS_PERF_TESTS = ".\src\perf_tests\bin\net461\Python.PerformanceTests.dll"
48+
if ($env:BUILD_OPTS -eq "--xplat") {
49+
$CS_PERF_TESTS = ".\src\perf_tests\bin\net461\Python.PerformanceTests.dll"
50+
}
51+
else {
52+
$CS_PERF_TESTS = ".\src\perf_tests\bin\Python.PerformanceTests.dll"
53+
}
4954
&"$CS_RUNNER" "$CS_PERF_TESTS"
5055
$CS_PERF_STATUS = $LastExitCode
5156
if ($CS_PERF_STATUS -ne 0) {

0 commit comments

Comments
 (0)