Commit 01e62e6c authored by Gleb Popov's avatar Gleb Popov 💬
Browse files

Remove invalid check from test_projectload test.

Summary:
This check implies that newly allocated `projectItem` will be placed
in different memory region, but it isn't always so. On FreeBSD, reloading the
project occupies the same memory region, so this check fails.

Reviewers: #kdevelop, apol

Reviewed By: #kdevelop, apol

Subscribers: kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D22350
parent 3b5b643f
...@@ -324,7 +324,6 @@ void TestProjectLoad::raceJob() ...@@ -324,7 +324,6 @@ void TestProjectLoad::raceJob()
QVERIFY(dir.rename(QStringLiteral("test2"), QStringLiteral("test3"))); QVERIFY(dir.rename(QStringLiteral("test2"), QStringLiteral("test3")));
// note: this actually invalidates the root, so query that again // note: this actually invalidates the root, so query that again
QTRY_VERIFY(root != project->projectItem());
root = project->projectItem(); root = project->projectItem();
QVERIFY(root); QVERIFY(root);
......
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