7 end |
7 end |
8 |
8 |
9 local verbosity = tonumber(arg[1]) or 2; |
9 local verbosity = tonumber(arg[1]) or 2; |
10 |
10 |
11 package.path = package.path..";../?.lua"; |
11 package.path = package.path..";../?.lua"; |
|
12 package.cpath = package.cpath..";../?.so"; |
12 |
13 |
13 require "util.import" |
14 require "util.import" |
14 |
15 |
15 local env_mt = { __index = function (t,k) return rawget(_G, k) or print("WARNING: Attempt to access nil global '"..tostring(k).."'"); end }; |
16 local env_mt = { __index = function (t,k) return rawget(_G, k) or print("WARNING: Attempt to access nil global '"..tostring(k).."'"); end }; |
16 function testlib_new_env(t) |
17 function testlib_new_env(t) |