Skip to content

Commit ed050f1

Browse files
committed
Start the executable directly on non windows platforms instead of using dotnet test.
1 parent 9bcb922 commit ed050f1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build/shared/test.Magick.NET.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ testMagickNET() {
99
config=$config-OpenMP
1010
fi
1111

12-
dotnet test tests/Magick.NET.Core.Tests/Magick.NET.Core.Tests.csproj -f net8.0 --no-build -c $config
13-
dotnet test tests/Magick.NET.Tests/Magick.NET.Tests.csproj -f net8.0 --no-build -c $config
12+
./tests/Magick.NET.Core.Tests/bin/$config/AnyCPU/net8.0/Magick.NET.Core.Tests
13+
./tests/Magick.NET.Tests/bin/$config/AnyCPU/net8.0/Magick.NET.Tests
1414
}
1515

1616
testMagickNET "Q8"

tests/Shared/Files.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ private static string GetRoot()
9898
@"../../../../",
9999
@"../../../../../Magick.NET.Tests/", // Other tests projects
100100
@"../../tests/Magick.NET.Tests/", // Build pipeline from build\windows folder
101+
@"tests/Magick.NET.Tests/", // Build pipeline from root
101102
};
102103

103104
foreach (var path in paths)

0 commit comments

Comments
 (0)