Skip to content

Commit c1e5948

Browse files
committed
fix dotnet on msys
1 parent 4fc4db0 commit c1e5948

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

tests/projects/csharp/console/test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import("detect.sdks.find_dotnet")
22

33
function test_build(t)
4+
if is_subhost("msys") then
5+
return t:skip("csharp not supported on msys")
6+
end
47
local dotnet = find_dotnet()
58
if dotnet and dotnet.sdkver then
69
t:build()

tests/projects/csharp/console_with_runtime_json/test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import("detect.sdks.find_dotnet")
22

33
function test_build(t)
4+
if is_subhost("msys") then
5+
return t:skip("csharp not supported on msys")
6+
end
47
local dotnet = find_dotnet()
58
if dotnet and dotnet.sdkver then
69
t:build()

tests/projects/csharp/exe_with_library/test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import("detect.sdks.find_dotnet")
22

33
function test_build(t)
4+
if is_subhost("msys") then
5+
return t:skip("csharp not supported on msys")
6+
end
47
local dotnet = find_dotnet()
58
if dotnet and dotnet.sdkver then
69
t:build()

tests/projects/csharp/exe_with_package/test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import("detect.sdks.find_dotnet")
22

33
function test_build(t)
4+
if is_subhost("msys") then
5+
return t:skip("csharp not supported on msys")
6+
end
47
local dotnet = find_dotnet()
58
if dotnet and dotnet.sdkver then
69
t:build()

tests/projects/csharp/multiple_library/test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import("detect.sdks.find_dotnet")
22

33
function test_build(t)
4+
if is_subhost("msys") then
5+
return t:skip("csharp not supported on msys")
6+
end
47
local dotnet = find_dotnet()
58
if dotnet and dotnet.sdkver then
69
t:build()

tests/projects/csharp/web_project/test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import("detect.sdks.find_dotnet")
22

33
function test_build(t)
4+
if is_subhost("msys") then
5+
return t:skip("csharp not supported on msys")
6+
end
47
local dotnet = find_dotnet()
58
if dotnet and dotnet.sdkver then
69
t:build()

0 commit comments

Comments
 (0)