summaryrefslogtreecommitdiff
path: root/tests/projects/csharp/console_with_runtime_json/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/csharp/console_with_runtime_json/test.lua')
-rw-r--r--tests/projects/csharp/console_with_runtime_json/test.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/projects/csharp/console_with_runtime_json/test.lua b/tests/projects/csharp/console_with_runtime_json/test.lua
new file mode 100644
index 000000000..d909316b7
--- /dev/null
+++ b/tests/projects/csharp/console_with_runtime_json/test.lua
@@ -0,0 +1,13 @@
+import("detect.sdks.find_dotnet")
+
+function test_build(t)
+ if is_subhost("msys") then
+ return t:skip("csharp not supported on msys")
+ end
+ local dotnet = find_dotnet()
+ if dotnet and dotnet.sdkver then
+ t:build()
+ else
+ return t:skip("dotnet sdk not found")
+ end
+end