Also look for binary modules in the parent directory when running tests
authorMatthew Wild <mwild1@gmail.com>
Sat, 29 Nov 2008 03:49:46 +0000 (03:49 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sat, 29 Nov 2008 03:49:46 +0000 (03:49 +0000)
tests/test.lua

index 33af3e980fdceacbc806e8b4aabab208c04cb38f..19aa838952c629c550c13c21efbe12374bb0aa58 100644 (file)
@@ -9,6 +9,7 @@ end
 local verbosity = tonumber(arg[1]) or 2;
 
 package.path = package.path..";../?.lua";
+package.cpath = package.cpath..";../?.so";
 
 require "util.import"