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
|
*/result
|
||||||
*/bin
|
*/bin
|
||||||
|
output.txt
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.
Loading…
Add table
Reference in a new issue