summaryrefslogtreecommitdiff
path: root/test/runtest.lua
diff options
context:
space:
mode:
authorshmuz <shmuz>2008-08-01 19:16:29 +0000
committershmuz <shmuz>2008-08-01 19:16:29 +0000
commitf76e595306d2554c5a7448136f13af09e5595da5 (patch)
treeb5a00d4db23330e40af8677af86de7ca8cad7703 /test/runtest.lua
parent6ac8ab8f32f17b4b658374cb9e6fbf34a39b7b4e (diff)
downloadlrexlib-f76e595306d2554c5a7448136f13af09e5595da5.tar.gz
force-reload the tested library; makefile reverted;
Diffstat (limited to 'test/runtest.lua')
-rwxr-xr-xtest/runtest.lua1
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