forked from organicmaps/organicmaps-tmp
Add script that runs all tests on Unix.
This commit is contained in:
parent
8dbb7b68f9
commit
299d31ecc5
1 changed files with 16 additions and 0 deletions
16
tools/unix/run_tests.sh
Executable file
16
tools/unix/run_tests.sh
Executable 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
|
Loading…
Add table
Reference in a new issue