summaryrefslogtreecommitdiff
blob: fe9309b1dde3aca76c2a5d327af908dba43baa47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env sh
set -e

# https://www.lua.org/tests/
# There are two sets:
# 1. basic
# 2. complete
#
# The basic subset is selected by passing -e'_U=true'
# The complete set is noted to contain tests that may consume too much memory or have non-portable tests.
# attrib.lua for example needs some multilib customization (have to compile the stuff in libs/ for each ABI)

cd "${srcdir}"/test && "${LUA}" -e_U=true $(basename ${1})