forked from qt-creator/qt-creator
Tests: Fix valgrind tests
Issue was introduced with 5a5acd664e
Change-Id: I30ed199e7471cbb71bd185c6a6e1db223339da75
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -358,7 +358,7 @@ void TestRunner::uninit1()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 6 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
@@ -372,7 +372,7 @@ void TestRunner::uninit1()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 2 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
@@ -403,7 +403,7 @@ void TestRunner::uninit2()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 6 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
@@ -417,7 +417,7 @@ void TestRunner::uninit2()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 2 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
@@ -436,7 +436,7 @@ void TestRunner::uninit2()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 6 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
@@ -467,7 +467,7 @@ void TestRunner::uninit3()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 6 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
@@ -481,7 +481,7 @@ void TestRunner::uninit3()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 2 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
@@ -500,7 +500,7 @@ void TestRunner::uninit3()
|
||||
|
||||
const Frame frame = stack.frames().first();
|
||||
QCOMPARE(frame.functionName(), QLatin1String("main"));
|
||||
QCOMPARE(frame.line(), 6 + HEADER_LENGTH);
|
||||
QCOMPARE(frame.line(), 4 + HEADER_LENGTH);
|
||||
|
||||
QCOMPARE(frame.object(), binary);
|
||||
QCOMPARE(frame.file(), QLatin1String("main.cpp"));
|
||||
|
Reference in New Issue
Block a user