We must not rely on current directory when start tests.
--HG-- branch : develop
This commit is contained in:
parent
bb70989165
commit
f460a324b3
|
@ -62,7 +62,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
TestVApplication app( argc, argv );// For QPrinter
|
TestVApplication app( argc, argv );// For QPrinter
|
||||||
|
|
||||||
QResource::registerResource(QStringLiteral("./test_data.rcc"));
|
QResource::registerResource(QCoreApplication::applicationDirPath() + QStringLiteral("/test_data.rcc"));
|
||||||
|
|
||||||
int status = 0;
|
int status = 0;
|
||||||
auto ASSERT_TEST = [&status, argc, argv](QObject* obj)
|
auto ASSERT_TEST = [&status, argc, argv](QObject* obj)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user