projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd6f14
)
sanitize install target names
author
Oswald Buddenhagen
<oswald.buddenhagen@nokia.com>
Sat, 10 Mar 2012 09:04:04 +0000
(10:04 +0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Mon, 12 Mar 2012 10:16:34 +0000
(11:16 +0100)
qmake uses the variable name verbatim, which makes the generated
makefile look "interesting" without this cleanup.
Change-Id: If6c4f12563a0ee6429513fbfac534f40bb7c0b97
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
mkspecs/features/testcase.prf
patch
|
blob
|
history
diff --git
a/mkspecs/features/testcase.prf
b/mkspecs/features/testcase.prf
index
9bb9875
..
b00d155
100644
(file)
--- a/
mkspecs/features/testcase.prf
+++ b/
mkspecs/features/testcase.prf
@@
-97,7
+97,11
@@
contains(INSTALLS, target) {
# ...
#
for(file, TESTDATA) {
- tdi = testdata_install_$${file}
+ tnam = $$file
+ tnam ~= s,\\.\\.,dotdot,
+ tnam ~= s,[?*],wildcard,
+ tnam ~= s,[^A-Za-z0-9],_,
+ tdi = testdata_$$tnam
tdif = $${tdi}.files
tdip = $${tdi}.path