Diff

tests/test.lua @ 814:f12b1ddd458d

Merge from waqas
author Matthew Wild <mwild1@gmail.com>
date Mon, 16 Feb 2009 15:44:54 +0000
parent 808:ce39abe0259a
child 896:2c0b9e3c11c3
line wrap: on
line diff
--- a/tests/test.lua	Mon Feb 16 15:44:23 2009 +0000
+++ b/tests/test.lua	Mon Feb 16 15:44:54 2009 +0000
@@ -21,8 +21,13 @@
 
 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"