gs_test/tests/test.sh

21 lines
309 B
Bash
Raw Normal View History

2023-11-10 20:47:11 +00:00
#!/bin/bash
SUCCESS=0
ARGS=$@
TEST_DIR=$(dirname ${BASH_SOURCE[0]})/tests_out
# Category: solo
if [[ " ${ARGS[*]} " =~ " solo " ]]; then
$TEST_DIR/basic_first.test $@
if [ $? != 0 ];
then
SUCCESS=1
fi
$TEST_DIR/basic_first2.test $@
if [ $? != 0 ];
then
SUCCESS=1
fi
fi
exit $SUCCESS