Commit 909d26b8 authored by hjk's avatar hjk
Browse files

Debugger: Disable the LongEvaluation auto test



Change-Id: Iad6190d3c741ae50788b803f165df130549a41fc
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent a4b00160
......@@ -4580,12 +4580,14 @@ void tst_Dumpers::dumper_data()
% CheckType("b1", "DerivedClass") // autoderef
% CheckType("b2", "DerivedClass &");
/*
// FIXME: The QDateTime dumper for 5.3 is really too slow.
QTest::newRow("LongEvaluation1")
<< Data("#include <QDateTime>",
"QDateTime time = QDateTime::currentDateTime();\n"
"const int N = 10000;\n"
"QDateTime bigv[N];\n"
"for (int i = 0; i < 10000; ++i) {\n"
"for (int i = 0; i < N; ++i) {\n"
" bigv[i] = time;\n"
" time = time.addDays(1);\n"
"}\n"
......@@ -4594,11 +4596,12 @@ void tst_Dumpers::dumper_data()
% CheckType("bigv", "@QDateTime [10000]")
% CheckType("bigv.0", "[0]", "@QDateTime")
% CheckType("bigv.9999", "[9999]", "@QDateTime");
*/
QTest::newRow("LongEvaluation2")
<< Data("const int N = 10000;\n"
"int bigv[N];\n"
"for (int i = 0; i < 10000; ++i)\n"
"for (int i = 0; i < N; ++i)\n"
" bigv[i] = i;\n"
"unused(&bigv[10]);\n")
% Check("N", "10000", "int")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment