summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvalue/qscriptvalue.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qscriptvalue/qscriptvalue.pro')
-rw-r--r--tests/auto/qscriptvalue/qscriptvalue.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qscriptvalue/qscriptvalue.pro b/tests/auto/qscriptvalue/qscriptvalue.pro
index 1588cc5..191cd4a 100644
--- a/tests/auto/qscriptvalue/qscriptvalue.pro
+++ b/tests/auto/qscriptvalue/qscriptvalue.pro
@@ -5,3 +5,10 @@ HEADERS += tst_qscriptvalue.h
# Generated by testgen
SOURCES += tst_qscriptvalue_generated.cpp
+
+
+win32-msvc* {
+ # With -O2, MSVC takes up to 24 minutes to compile this test!
+ QMAKE_CXXFLAGS_RELEASE -= -O1 -O2
+ QMAKE_CXXFLAGS_RELEASE += -Od
+}