add missing test shim
This commit is contained in:
parent
8408b56623
commit
abd1c441de
1 changed files with 18 additions and 0 deletions
18
tests/cpp_tests/run
Executable file
18
tests/cpp_tests/run
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
||||
cd ../../
|
||||
source ./localize.sh
|
||||
|
||||
failures=0
|
||||
if [ -n "$(find tests/cpp_tests/ -maxdepth 1 -name '*-bin' -print -quit)" ]; then
|
||||
for FILE in tests/cpp_tests/*-bin; do
|
||||
${FILE} -q -d .;
|
||||
failures=$((failures+$?))
|
||||
done
|
||||
echo
|
||||
else
|
||||
echo 'warning: no c++ tests found'
|
||||
fi
|
||||
exit $failures
|
||||
|
Loading…
Add table
Reference in a new issue