From ed20c5e6802a13e4faf6f7b09e0b30d01846ca07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= <jedrzej.nowacki@nokia.com>
Date: Thu, 9 Feb 2012 10:19:26 +0100
Subject: [PATCH] Add optimizations for QJSValue tests for MSVC.

The comment is not valid. It was added for QScriptValue generated test
which are not included in QJSValue tests.

Change-Id: I958e3c1d1f57cfa0ad34d1a8c8387deec792efaf
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
---
 tests/auto/declarative/qjsvalue/qjsvalue.pro | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/auto/declarative/qjsvalue/qjsvalue.pro b/tests/auto/declarative/qjsvalue/qjsvalue.pro
index a8c88dc617..3b40e92e67 100644
--- a/tests/auto/declarative/qjsvalue/qjsvalue.pro
+++ b/tests/auto/declarative/qjsvalue/qjsvalue.pro
@@ -4,9 +4,3 @@ macx:CONFIG -= app_bundle
 QT += declarative widgets testlib
 SOURCES  += tst_qjsvalue.cpp
 HEADERS  += tst_qjsvalue.h
-
-win32-msvc* {
-    # With -O2, MSVC takes up to 24 minutes to compile this test!
-    QMAKE_CXXFLAGS_RELEASE -= -O1 -O2
-    QMAKE_CXXFLAGS_RELEASE += -Od
-}
-- 
GitLab