diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-04-20 15:37:25 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-06-19 16:39:56 +0200 |
commit | f97913f2da5b4c46056b7d16ca30a3ae7874bbf7 (patch) | |
tree | 279bee0ac0354393f131bd4fd5780ef08f237f7f /tests/auto/tools/qmake/testdata/functions/functions.pro | |
parent | 1261c9b2f483a63894f629cc0400970bd036239d (diff) |
add $$clean_path() function
just QDir::cleanPath()
Change-Id: I2d51e2385939d8926c00f296537ab7f6757d9a79
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'tests/auto/tools/qmake/testdata/functions/functions.pro')
-rw-r--r-- | tests/auto/tools/qmake/testdata/functions/functions.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testdata/functions/functions.pro b/tests/auto/tools/qmake/testdata/functions/functions.pro index 2972128948..e5dde93a91 100644 --- a/tests/auto/tools/qmake/testdata/functions/functions.pro +++ b/tests/auto/tools/qmake/testdata/functions/functions.pro @@ -127,3 +127,5 @@ testReplace($$format_number(13, width=5 alwayssign), "$$spc +13", "always signed testReplace($$format_number(13, width=5 alwayssign zeropad), "+0013", "zero-padded always signed number format") testReplace($$format_number(13, width=5 padsign), " $$spc 13", "sign-padded number format") testReplace($$format_number(13, width=5 padsign zeropad), " 0013", "zero-padded sign-padded number format") + +testReplace($$clean_path("c:$${DIR_SEPARATOR}crazy//path/../trolls"), "c:/crazy/trolls", "clean_path") |