File: unit_tests.sh

package info (click to toggle)
fwbuilder 5.3.7-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 41,724 kB
  • sloc: cpp: 193,157; sh: 71,239; ansic: 4,343; xml: 3,963; python: 83; makefile: 76; perl: 49
file content (11 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
#!/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