aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2015-01-20 01:15:00 +0100
committerPhilipp Janda <siffiejoe@gmx.net>2015-01-20 01:15:00 +0100
commite52c3c4e7af665acd23e63fd3ae85f2c8ae87e49 (patch)
tree3067b1a8578cdddd9bdb1f5b5a3dba13c51a80fc /tests
parent489cd678823e0981ff2e4d2544b84094ed23c587 (diff)
downloadlua-compat-5.3-e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49.tar.gz
lua-compat-5.3-e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49.tar.bz2
lua-compat-5.3-e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49.zip
use table library from Lua 5.3 sources if available
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.lua3
1 files changed, 3 insertions, 0 deletions
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
26 end 26 end
27end 27end
28 28
29local V = _VERSION:gsub("^.*(%d+)%.(%d+)$", "%1%2")
30
29print( "testing Lua API ..." ) 31print( "testing Lua API ..." )
30package.path = "../?.lua;"..package.path 32package.path = "../?.lua;"..package.path
33package.cpath = "./?-"..V..".so;./?-"..V..".dll;./?.so;./?.dll"
31require("compat53") 34require("compat53")
32 35
33___'' 36___''