Commit aaf7181c authored by Christian Stenger's avatar Christian Stenger

AutoTest: Fix execution of test sets

Broken by 842ab2a5

Change-Id: If34eb0ae726f172b049473b8dd1c92e7b771968c
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent 317a1d14
......@@ -845,7 +845,7 @@ TestConfiguration *GoogleTestTreeItem::testConfiguration() const
}
case TestFunctionOrSet: {
GoogleTestTreeItem *parent = static_cast<GoogleTestTreeItem *>(parentItem());
if (parent)
if (!parent)
return 0;
const QString &testSpecifier = gtestFilter(parent->state()).arg(parent->name()).arg(name());
config = new GoogleTestConfiguration;
......
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