updated testsuite

This commit is contained in:
Leon van Kammen 2025-06-18 04:41:13 +02:00
parent e21a67752a
commit ceacb4fa41
4 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
*/result */result
*/bin */bin
output.txt

View file

@ -2,9 +2,11 @@
dir=$(pwd) dir=$(pwd)
{ {
cd test; for test in test-*; do date > output.txt
echo "[.] $dir/test/$test" cd test
./$test &>/dev/null; for test in *-*; do
echo "[⏵] test/$test"
./$test
done && echo OK || echo ERROR done && echo OK || echo ERROR
} | logger } 2>&1 | tee output.txt | tee /dev/tty | logger

View file

@ -2,10 +2,10 @@
run: run:
`cd test; for test in test-*; do ./$test &>/dev/null; done && echo OK || echo ERROR` `cd test; for test in *-*; do ./$test &>/dev/null; done && echo OK || echo ERROR`
# Debugging # Debugging
`cd test; for test in test-*; do bash -x $test; done && echo OK || echo ERROR` `cd test; for test in *-*; do bash -x $test; done && echo OK || echo ERROR`

Binary file not shown.