From 30b43f08955158d4f2066f4b50fe8d1241b3177b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 16 May 2025 15:43:09 +0200 Subject: Remove configure + make build system. This commit also updates the README, cleans up some stuff and fixes some oopsies. --- test/test.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100755 test/test.sh (limited to 'test') diff --git a/test/test.sh b/test/test.sh deleted file mode 100755 index 8b5db35..0000000 --- a/test/test.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -re="${TEST:-$@}" - -TESTBIN="test/run" -TESTOUT="test/last.out" -TESTERR="test/last.err" - -for t in test/*; do - if [ -n "$re" ] && !(echo "$t" | grep -q "$re"); then - continue - fi - - # Verify if $t is a directory and if its name starts with three digits - if [ -d "$t" ] && basename "$t" | grep -Eq '^[0-9]{3}'; then - $CC -o $TESTBIN "$t"/*.c $OBJ || exit 1 - for cin in "$t"/*.in; do - c=$(echo "$cin" | sed 's/\.in//') - cout="$c.out" - printf "%s: " "$c" - $TESTBIN < "$cin" > $TESTOUT 2> $TESTERR - if diff "$cout" "$TESTOUT"; then - printf "OK\n" - else - printf "Test failed! stderr:\n" - cat $TESTERR - exit 1 - fi - done - fi -done - -echo "All tests passed!" -- cgit v1.3