diff -r dee5afe5301f -r 3f74d0d4af4c tests/auto/qscriptvalue/qscriptvalue.pro --- a/tests/auto/qscriptvalue/qscriptvalue.pro Mon Mar 15 12:43:09 2010 +0200 +++ b/tests/auto/qscriptvalue/qscriptvalue.pro Thu Apr 08 14:19:33 2010 +0300 @@ -5,3 +5,10 @@ # 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 +}