Add script that runs all tests on Unix.

This commit is contained in:
Yury Melnichek 2011-08-12 20:43:30 +03:00 committed by Alex Zolotarev
parent 8dbb7b68f9
commit 299d31ecc5

16
tools/unix/run_tests.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
set -e -u
if [ $# -lt 1 ]; then
echo "Usage:"
echo " $0 {debug|release}"
exit 115
fi
set -x
find ../omim-build-$1/out/$1 -name "*_tests" | \
grep -v /tmp/ | \
awk '{ print $0" &&" } END { print "echo REALLY ALL TESTS PASSED" }' | \
sh -x