aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 3b994314..1efab371 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -21,8 +21,13 @@ end
local verbosity = tonumber(arg[1]) or 2;
-package.path = package.path..";../?.lua";
-package.cpath = package.cpath..";../?.so";
+if os.getenv("WINDIR") then
+ package.path = package.path..";..\\?.lua";
+ package.cpath = package.cpath..";..\\?.dll";
+else
+ package.path = package.path..";../?.lua";
+ package.cpath = package.cpath..";../?.so";
+end
require "util.import"