2019-10-02 23:04:06 +03:00
|
|
|
NAME=$1"-tests"
|
2019-06-21 16:46:41 +03:00
|
|
|
|
|
|
|
ln -s . $NAME
|
|
|
|
ln -s .. ltests
|
|
|
|
|
|
|
|
tar --create --gzip --no-recursion --file=$NAME.tar.gz \
|
|
|
|
$NAME/all.lua \
|
|
|
|
$NAME/api.lua \
|
|
|
|
$NAME/attrib.lua \
|
|
|
|
$NAME/big.lua \
|
|
|
|
$NAME/bitwise.lua \
|
|
|
|
$NAME/bwcoercion.lua \
|
|
|
|
$NAME/calls.lua \
|
|
|
|
$NAME/closure.lua \
|
|
|
|
$NAME/code.lua \
|
|
|
|
$NAME/constructs.lua \
|
|
|
|
$NAME/coroutine.lua \
|
|
|
|
$NAME/cstack.lua \
|
|
|
|
$NAME/db.lua \
|
|
|
|
$NAME/errors.lua \
|
|
|
|
$NAME/events.lua \
|
|
|
|
$NAME/files.lua \
|
|
|
|
$NAME/gc.lua \
|
|
|
|
$NAME/gengc.lua \
|
|
|
|
$NAME/goto.lua \
|
|
|
|
$NAME/heavy.lua \
|
|
|
|
$NAME/literals.lua \
|
|
|
|
$NAME/locals.lua \
|
|
|
|
$NAME/main.lua \
|
|
|
|
$NAME/math.lua \
|
|
|
|
$NAME/nextvar.lua \
|
|
|
|
$NAME/pm.lua \
|
|
|
|
$NAME/sort.lua \
|
|
|
|
$NAME/strings.lua \
|
|
|
|
$NAME/tpack.lua \
|
2021-03-10 16:35:57 +03:00
|
|
|
$NAME/tracegc.lua \
|
2019-06-21 16:46:41 +03:00
|
|
|
$NAME/utf8.lua \
|
|
|
|
$NAME/vararg.lua \
|
|
|
|
$NAME/verybig.lua \
|
|
|
|
$NAME/libs/makefile \
|
|
|
|
$NAME/libs/P1 \
|
|
|
|
$NAME/libs/lib1.c \
|
|
|
|
$NAME/libs/lib11.c \
|
|
|
|
$NAME/libs/lib2.c \
|
|
|
|
$NAME/libs/lib21.c \
|
|
|
|
$NAME/libs/lib22.c \
|
|
|
|
$NAME/ltests/ltests.h \
|
|
|
|
$NAME/ltests/ltests.c
|
|
|
|
|
|
|
|
\rm -I $NAME
|
|
|
|
\rm -I ltests
|
|
|
|
|
2019-10-02 23:04:06 +03:00
|
|
|
echo ${NAME}.tar.gz" created"
|
|
|
|
|
2019-06-21 16:46:41 +03:00
|
|
|
|