mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-20 19:58:34 +00:00
* use external cmocka instead of bundled cmocka * add run-ptest script Ptest results: $ ./run-ptest PASS: replace_testsuite PASS: test_tevent_tag PASS: test_tevent_trace Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 lines
334 B
Bash
18 lines
334 B
Bash
#!/bin/sh
|
|
|
|
ptestdir=$(dirname "$(readlink -f "$0")")
|
|
cd "$ptestdir"/tests || exit
|
|
|
|
tests="replace_testsuite test_tevent_tag test_tevent_trace"
|
|
|
|
for f in $tests
|
|
do
|
|
if test -x ./"$f"; then
|
|
if ./"$f" > ./"$f".out 2> ./"$f".err; then
|
|
echo "PASS: $f"
|
|
else
|
|
echo "FAIL: $f"
|
|
fi
|
|
fi
|
|
done
|