blob: b8d2d63d16cb85a9d627339e5e4d86cc8d93ca2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
set -xe
lua53=$(which lua5.3 || which true)
lua51=$(which lua5.1 || which true)
luajit=$(which luajit || which true)
for test in \
test/charclass_compiletime.lua \
test/charclass_runtime.lua \
test/context_runtime.lua \
test/test.lua \
test/test_compat.lua \
test/test_pm.lua \
test/test_utf8data.lua
do
$lua53 $test
$lua51 $test
$luajit $test
done
echo "tests passed"
|