updated testsuite
This commit is contained in:
parent
e21a67752a
commit
ceacb4fa41
4 changed files with 9 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
*/result
|
||||
*/bin
|
||||
output.txt
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
Loading…
Add table
Reference in a new issue