From c5beba29f1ac44ce225d73da67503f23f8aeffdc Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Fri, 4 Jun 2010 17:08:37 +1000 Subject: Fixed unescaped backslashes in testcase.prf --- mkspecs/features/testcase.prf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkspecs/features/testcase.prf b/mkspecs/features/testcase.prf index 2a56d7d..7a7c9e3 100644 --- a/mkspecs/features/testcase.prf +++ b/mkspecs/features/testcase.prf @@ -18,9 +18,9 @@ win32:debug_and_release { # subdirectory. However, since make's working directory is already outside of the # debug/release subdirectory, this first ../ should be ignored when deciding if # we have to change directory before running the test. - MUNGED_TARGET=$$replace(MUNGED_TARGET,^\.\./,) + MUNGED_TARGET=$$replace(MUNGED_TARGET,^\\.\\./,) } -!isEmpty(MUNGED_DESTDIR):!contains(MUNGED_DESTDIR,^\./?):check.commands = cd $(DESTDIR) && +!isEmpty(MUNGED_DESTDIR):!contains(MUNGED_DESTDIR,^\\./?):check.commands = cd $(DESTDIR) && contains(MUNGED_TARGET,.*/.*):check.commands = cd $(DESTDIR) && # Allow for a custom test runner script -- cgit v0.12