summaryrefslogtreecommitdiffstats
path: root/tests/testserver
diff options
context:
space:
mode:
authorRyan Chu <ryan.chu@qt.io>2019-01-08 14:34:30 +0100
committerRyan Chu <ryan.chu@qt.io>2019-01-15 23:40:13 +0000
commit2c875efa999527b5d1419ea06d786b0a462c7133 (patch)
treeead09b47bd8f58e1a3c7ecd4bee93f0630d3a898 /tests/testserver
parentf7a7a49f9235c9375fc515a3062341f285f3c2c3 (diff)
Support debug_and_release option (which is the default under Windows)
When debug_and_release option is in use, qmake will generate one mata-Makefile and two additional leaf Makefile (Makefile.Debug and Makefile.Release). In such case, testserver.pri will be included in all three passes. The problem is that the mata-Mafile is used to invoke leaf Mafile recursively. The docker test server should only be integrated in the leaf Makefile. To resolve this problem, this change uses "!build_pass" condition to determine whether this is a pass of meta-Makefile, and then skip it. Change-Id: Ibc48d657680e089ebaa1bc356b87eb4cfd9f4580 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/testserver')
0 files changed, 0 insertions, 0 deletions