diff options
Diffstat (limited to 'tests/scripts/run-xpass')
| -rwxr-xr-x | tests/scripts/run-xpass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scripts/run-xpass b/tests/scripts/run-xpass new file mode 100755 index 0000000..d20c436 --- /dev/null +++ b/tests/scripts/run-xpass @@ -0,0 +1,11 @@ +#!/bin/sh + +TEST="$1" +OK="reports/$TEST/OK" +LOG="reports/$TEST/log" + +if "./$1" > "$LOG" 2> "$LOG"; then + echo OK > "$OK" +else + echo FAIL > "$OK" +fi |
