summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-12-19 14:29:29 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-20 03:32:48 +0100
commitf2dbf6a8194cd244c08cde3cc008f4a6e21caee8 (patch)
treea81c07009a1b03f5adac74f37fb3f0f6bf1e1908 /tests
parent85557694df4246f8a8a9d5d3351dd6716af31d96 (diff)
downloadqtbase-f2dbf6a8194cd244c08cde3cc008f4a6e21caee8.tar.gz
Disable the JSC portion of the test unless we have a system PCRE
CONFIG += pcre is enabled if we're using the Qt PCRE, which isn't compiled for 8-bit. If it isn't set, then we have a system PCRE. Change-Id: I29d043b9d3f4d3223dcbb41eadc9f859e710eb88 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/benchmarks/corelib/tools/qregexp/qregexp.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
index d62b5b1c11..ef50a22d4d 100644
--- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
+++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
@@ -6,7 +6,7 @@ CONFIG += release exceptions
SOURCES += main.cpp
RESOURCES += qregexp.qrc
-!isEmpty(QT.script.name) {
+!isEmpty(QT.script.name):!pcre {
DEFINES += HAVE_JSC
QT += script
}