From f2dbf6a8194cd244c08cde3cc008f4a6e21caee8 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 19 Dec 2012 14:29:29 -0800 Subject: 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 --- tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/benchmarks') 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 } -- cgit v1.2.3