added my Recipes
This commit is contained in:
16
meta-openembedded/meta-networking/recipes-daemons/lldpd/files/run-ptest
Executable file
16
meta-openembedded/meta-networking/recipes-daemons/lldpd/files/run-ptest
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
num_fail=0
|
||||
|
||||
for test in tests/check*
|
||||
do
|
||||
./"$test" \
|
||||
&& echo "PASS: $test" \
|
||||
|| {
|
||||
echo "FAIL: $test"
|
||||
num_fail=$(( ${num_fail} + 1))
|
||||
}
|
||||
|
||||
done
|
||||
|
||||
exit $num_fail
|
||||
Reference in New Issue
Block a user