1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-19 01:37:17 +01:00
fwbuilder/unit_tests.sh

13 lines
226 B
Bash
Executable File

#!/bin/bash
action=$@
for directory in $(find . -name unit_tests)
do
home=`pwd`
cd $directory
[ -z $QMAKESPEC ] && { qmake || exit 1; } || { qmake -spec $QMAKESPEC || exit 1; }
$action || exit 1
cd $home
done