use kissCache for testing

This commit is contained in:
2023-07-20 08:57:48 -06:00
parent c3cfcd4e06
commit a65db1f61c

View File

@@ -3,6 +3,7 @@
KISS_TARGET=${KISS_TARGET:-$1}
KISS_TARGET=${KISS_TARGET:-interp}
FLAGS="-D kissCache" # for testing AsyncEmbeddedScript
if [ -n "$CI_OS_NAME" ]; then
lix download
fi
@@ -20,7 +21,7 @@ if [ -e AsyncDSLScript.cache.json ]; then
fi
if [ ! -z "$2" ]; then
haxe -D cases=$2 build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml
haxe $FLAGS -D cases=$2 build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml
else
haxe build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml
haxe $FLAGS build-scripts/common-args.hxml build-scripts/common-test-args.hxml build-scripts/$KISS_TARGET/test.hxml
fi