Skip to content

Commit 2a15cf2

Browse files
committed
Run the executable directly instead of using vstest.
1 parent ff645f8 commit 2a15cf2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build/windows/test.Magick.NET.ps1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ function runTests($quantumName, $platformName, $targetFramework, $project) {
1818
}
1919

2020
$folder = fullPath "tests\$project.Tests\bin\Test$quantumName\$platform\$targetFramework"
21-
$fileName = "$folder\$project.Tests.dll"
22-
23-
$vstest = "$($env:VSINSTALLDIR)\Common7\IDE\Extensions\TestPlatform\vstest.console.exe"
24-
& $vstest $fileName /platform:$testPlatform /TestAdapterPath:$folder
21+
& "$folder\$project.Tests.exe"
2522

2623
CheckExitCode("Failed to test Magick.NET")
2724
}

0 commit comments

Comments
 (0)