feat: hectic C: template node debug, but union issue in debug string constructor
This commit is contained in:
@@ -84,7 +84,7 @@ while [ $# -gt 0 ]; do
|
||||
done
|
||||
|
||||
MODE="${1:-build}"
|
||||
shift
|
||||
shift > /dev/null
|
||||
|
||||
if [ -n "$COLOR_FLAG" ]; then
|
||||
CFLAGS="$CFLAGS $COLOR_FLAG"
|
||||
@@ -118,16 +118,13 @@ case "$MODE" in
|
||||
esac
|
||||
done
|
||||
|
||||
# If no specific tests provided, run all
|
||||
if [ ${#TESTS_TO_RUN[@]} -eq 0 ]; then
|
||||
TESTS_TO_RUN=("all")
|
||||
fi
|
||||
|
||||
echo "TESTS_TO_RUN: ${TESTS_TO_RUN[@]}"
|
||||
for test_file in test/*.c; do
|
||||
test_name=$(basename "${test_file%.c}")
|
||||
|
||||
# Skip if specific tests are requested and this isn't one of them
|
||||
if [ "${TESTS_TO_RUN[0]}" != "all" ] && ! [[ " ${TESTS_TO_RUN[*]} " =~ " ${test_name} " ]]; then
|
||||
# TODO: error on unknown test file
|
||||
if [ ${#TESTS_TO_RUN[@]} -ne 0 ] && ! [[ " ${TESTS_TO_RUN[*]} " =~ " ${test_name} " ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user