summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/generate_expected_output.py
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-02-08 14:27:19 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2019-02-08 14:27:19 +0000
commit26ebdeff75d9f0f7b1ca2f82c35d7eaa013c0982 (patch)
tree88626bb5c88436b0e206907f15224bb035481f6b /tests/auto/testlib/selftests/generate_expected_output.py
parent30178a22ffde5d216a350910668df0d906aced3b (diff)
parentfbfacd33be482fa3cf0aa5cffaf7006d538a2f92 (diff)
Merge "Merge remote-tracking branch 'origin/5.12' into 5.13" into refs/staging/5.13
Diffstat (limited to 'tests/auto/testlib/selftests/generate_expected_output.py')
-rwxr-xr-xtests/auto/testlib/selftests/generate_expected_output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/generate_expected_output.py b/tests/auto/testlib/selftests/generate_expected_output.py
index 92588c614d..9ec87c8fc6 100755
--- a/tests/auto/testlib/selftests/generate_expected_output.py
+++ b/tests/auto/testlib/selftests/generate_expected_output.py
@@ -132,7 +132,7 @@ class Cleaner (object):
# Add path to specific sources and to tst_*.cpp if missing (for in-source builds):
patterns += ((r'(^|[^/])\b(qtestcase.cpp)\b', r'\1qtbase/src/testlib/\2'),
# Add more special cases here, if they show up !
- (r'([[" ])\.\./(counting/tst_counting.cpp)\b',
+ (r'([\[" ])\.\./(counting/tst_counting.cpp)\b',
r'\1' + os.path.sep.join(hereNames + (r'\2',))),
# The common pattern:
(r'(^|[^/])\b(tst_)?([a-z]+\d*)\.cpp\b',