From e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49 Mon Sep 17 00:00:00 2001 From: Philipp Janda Date: Tue, 20 Jan 2015 01:15:00 +0100 Subject: use table library from Lua 5.3 sources if available --- tests/test.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/test.lua b/tests/test.lua index 2b53b92..423fb5b 100755 --- a/tests/test.lua +++ b/tests/test.lua @@ -26,8 +26,11 @@ do end end +local V = _VERSION:gsub("^.*(%d+)%.(%d+)$", "%1%2") + print( "testing Lua API ..." ) package.path = "../?.lua;"..package.path +package.cpath = "./?-"..V..".so;./?-"..V..".dll;./?.so;./?.dll" require("compat53") ___'' -- cgit v1.2.3-55-g6feb