fix for dll tests

This commit is contained in:
Arne Döring
2018-11-16 14:37:27 +01:00
committed by Araq
parent 534601637a
commit f200976058

View File

@@ -97,11 +97,10 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string) =
else:
""
testSpec c, makeTest("lib/nimrtl.nim",
options & " --app:lib -d:createNimRtl --threads:on", cat)
testSpec c, makeTest("tests/dll/server.nim",
options & " --app:lib -d:useNimRtl --threads:on" & rpath, cat)
testNoSpec c, makeTest("lib/nimrtl.nim",
options & " --app:lib -d:createNimRtl --threads:on", cat, actionCompile)
testNoSpec c, makeTest("tests/dll/server.nim",
options & " --app:lib -d:useNimRtl --threads:on" & rpath, cat, actionCompile)
when defined(Windows):
# windows looks in the dir of the exe (yay!):