diff options
author | shmuz <shmuz> | 2008-08-01 19:16:29 +0000 |
---|---|---|
committer | shmuz <shmuz> | 2008-08-01 19:16:29 +0000 |
commit | f76e595306d2554c5a7448136f13af09e5595da5 (patch) | |
tree | b5a00d4db23330e40af8677af86de7ca8cad7703 /test/runtest.lua | |
parent | 6ac8ab8f32f17b4b658374cb9e6fbf34a39b7b4e (diff) | |
download | lrexlib-f76e595306d2554c5a7448136f13af09e5595da5.tar.gz |
force-reload the tested library; makefile reverted;
Diffstat (limited to 'test/runtest.lua')
-rwxr-xr-x | test/runtest.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/runtest.lua b/test/runtest.lua index cc75205..c4f60e7 100755 --- a/test/runtest.lua +++ b/test/runtest.lua @@ -87,6 +87,7 @@ do end -- do tests for _, test in ipairs (tests) do + package.loaded[test.lib] = nil -- to force-reload the tested library for _, setfile in ipairs (test) do nerr = nerr + test_library (test.lib, setfile, verbose) end |