Don't try to run or build the tests on Windows because too hard.

This commit is contained in:
David Given 2022-07-17 13:00:39 +02:00
parent 8e4a6ca47d
commit c44f94818f

View file

@ -28,8 +28,10 @@ vars.plats_with_tests = {
"pc86", "pc86",
} }
local is_windows = os.getenv("OS") == "Windows_NT"
local int = {} local int = {}
if os.getenv("OS") ~= "Windows_NT" then if not is_windows then
int[#int+1] = "util/int+pkg" int[#int+1] = "util/int+pkg"
end end
@ -80,6 +82,7 @@ installable {
}, },
} }
if not is_windows then
normalrule { normalrule {
name = "tests", name = "tests",
ins = { ins = {
@ -93,3 +96,15 @@ normalrule {
"%{ins}" "%{ins}"
} }
} }
else
normalrule {
name = "tests",
ins = {},
outleaves = {
"stamp"
},
commands = {
"touch %{outs}"
}
}
end