applied patch per SF bug 3302219

"unit tests are badly portable"
This commit is contained in:
Vadim Kurland
2011-05-14 22:47:37 -07:00
parent e149666e51
commit 04545f9818
4 changed files with 30 additions and 40 deletions
+3 -12
View File
@@ -7,24 +7,15 @@ SUBDIRS = src doc
DOLLAR = $
build_tests.commands = cd src/unit_tests; \
qmake -spec $${DOLLAR}$${DOLLAR}QMAKESPEC && \
./unit_tests.sh make build_tests; \
cd -
build_tests.commands = ./unit_tests.sh make build_tests
build_tests.depends = all
run_tests.commands = cd src/unit_tests; \
qmake -spec $${DOLLAR}$${DOLLAR}QMAKESPEC && \
./unit_tests.sh make run_tests; \
cd -
run_tests.commands = ./unit_tests.sh make run_tests
run_tests.depends = all
tests.depends = run_tests
clean_tests.commands = cd src/unit_tests; \
qmake -spec $${DOLLAR}$${DOLLAR}QMAKESPEC && \
./unit_tests.sh make clean_tests; \
cd -
clean_tests.commands = ./unit_tests.sh make clean_tests
QMAKE_EXTRA_TARGETS += build_tests run_tests clean_tests tests