Skip to content

Commit

Permalink
Make Qt glob expand test subdir targets.
Browse files Browse the repository at this point in the history
If you don't use the unfortunately undocumented 8846files() qmake function
then qmake 4.8.x will not run qmake on the globbed subdirectories (qt5
does run it).
  • Loading branch information
daniel-kristjansson committed May 5, 2013
1 parent fd1d12d commit 3484c85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/test/test.pro
Expand Up @@ -2,7 +2,7 @@ include (../../../settings.pro)

TEMPLATE = subdirs

SUBDIRS += test_*
SUBDIRS += $$files(test_*)

unittest.target = test
unittest.commands = ../../../programs/scripts/unittests.sh
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libs.pro
Expand Up @@ -36,7 +36,7 @@ SUBDIRS += libmythprotoserver
libmythprotoserver.depends = $$LIBMYTHTVDEPS libmythtv

# unit tests
SUBDIRS += lib*/test
SUBDIRS += $$files(lib*/test)

unittest.target = test
unittest.commands = ../programs/scripts/unittests.sh
Expand Down

0 comments on commit 3484c85

Please sign in to comment.