diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2015-01-20 01:15:00 +0100 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2015-01-20 01:15:00 +0100 |
commit | e52c3c4e7af665acd23e63fd3ae85f2c8ae87e49 (patch) | |
tree | 3067b1a8578cdddd9bdb1f5b5a3dba13c51a80fc /tests | |
parent | 489cd678823e0981ff2e4d2544b84094ed23c587 (diff) | |
download | lua-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-x | tests/test.lua | 3 |
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 |
27 | end | 27 | end |
28 | 28 | ||
29 | local V = _VERSION:gsub("^.*(%d+)%.(%d+)$", "%1%2") | ||
30 | |||
29 | print( "testing Lua API ..." ) | 31 | print( "testing Lua API ..." ) |
30 | package.path = "../?.lua;"..package.path | 32 | package.path = "../?.lua;"..package.path |
33 | package.cpath = "./?-"..V..".so;./?-"..V..".dll;./?.so;./?.dll" | ||
31 | require("compat53") | 34 | require("compat53") |
32 | 35 | ||
33 | ___'' | 36 | ___'' |