tests/test.lua

changeset 470
2f9d42fdeffa
parent 370
9ade55e059ea
child 509
32899c8a6fe5
equal deleted inserted replaced
469:72683281cbc4 470:2f9d42fdeffa
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)

mercurial