effil/ci/test_all.sh
Ilia b8ab05f667 Fix GC related bugs (#73)
* Fix GC related bugs
* Fix GCC compilation
* Remove semicolons
* Remove refs_ from SharedTable
2017-09-28 11:45:43 +03:00

14 lines
313 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if [ -z "$LUA_BIN" ]; then
LUA_BIN="lua"
fi
for build_type in debug release; do
cmake -H. -B$build_type -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=$build_type $@
cmake --build $build_type --config Release
(cd $build_type && STRESS=1 $LUA_BIN ../tests/lua/run_tests)
done