Files
kiss-vscode/test-all.sh

19 lines
448 B
Bash

#! /bin/bash
# For local testing. Runs manual project tests, which cannot run headless.
# Dependencies won't be installed first
# Test the Kiss compiler on every target language:
TEST_FILES=src/build-scripts/**/test.hxml
for TEST_FILE in $TEST_FILES
do
echo $TEST_FILE
haxe src/build-scripts/common-args.hxml src/build-scripts/common-test-args.hxml $TEST_FILE
if [ ! $? -eq 0 ]
then
exit 1
fi
done
./test-projects.sh