Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lievenhey committed Sep 1, 2023
1 parent 862bdc7 commit ec4e045
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/modeltests/tst_callgraphgenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ private slots:
private:
Data::CallerCalleeResults callerCalleeResults(const QString& filename)
{
qputenv("HOTSPOT_PERFPARSER",
QCoreApplication::applicationDirPath().toUtf8() + QByteArrayLiteral("/perfparser"));
const auto perfparserPath = QCoreApplication::applicationDirPath().toUtf8() + QByteArrayLiteral("/perfparser");
qputenv("HOTSPOT_PERFPARSER", perfparserPath);

PerfParser parser(this);
QSignalSpy parsingFinishedSpy(&parser, &PerfParser::parsingFinished);
QSignalSpy parsingFailedSpy(&parser, &PerfParser::parsingFailed);
Expand Down

0 comments on commit ec4e045

Please sign in to comment.