blob: f027574e8649171167fae9770592759426aa726d [file] [log] [blame]
#!/bin/sh
# Define cpio test work dir
WORKDIR=@PTEST_PATH@/tests/
# Run test
cd ${WORKDIR}
./atconfig ./atlocal ./testsuite
./testsuite 2>&1 | grep -E '[0-9]{1,3}: ' | sed -e 's/^.....//' -e '/[ok]$/s/^/PASS: /;/FAILED (.*)/s/^/FAIL: /;/skipped (.*)/s/^/SKIP: /;/expected failure/ s/^/PASS: /;/UNEXPECTED PASS/s/^/FAIL: /' -e 's/ok$//g' -e 's/FAILED.*//g' -e 's/skipped.*//g' -e 's/expected failure.*//g' -e 's/UNEXPECTED PASS.*//g'