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
*/bin
output.txt

View file

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

View file

@ -2,10 +2,10 @@
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
`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.