1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2025-06-16 07:07:27 +02:00
fwbuilder/unit_tests.sh
Vadim Kurland 04545f9818 applied patch per SF bug 3302219
"unit tests are badly portable"
2011-05-14 22:47:37 -07:00

12 lines
253 B
Bash
Executable File

#!/bin/sh
QMAKE="${QMAKE:-qmake}"
QMAKEPARAMS="${QMAKESPEC:+ -spec $QMAKESPEC}"
set -e
find . -mindepth 1 -type d -name unit_tests | while read directory
do
echo "===> Running tests in $directory"
(cd $directory && $QMAKE $QMAKEPARAMS && "$@")
done