[autotests] Don't use QTEST_SET_MAIN_SOURCE_PATH

It fails to build on Kubuntu's CI. Apparently not defined, let's use
what it resolves to on the author's system.
This commit is contained in:
Martin Gräßlin 2015-10-02 16:02:13 +02:00
parent 7fed20f136
commit f5fbdaa6ca

View file

@ -60,7 +60,7 @@ int main(int argc, char *argv[]) \
KWin::WaylandTestApplication app(argc, argv); \ KWin::WaylandTestApplication app(argc, argv); \
app.setAttribute(Qt::AA_Use96Dpi, true); \ app.setAttribute(Qt::AA_Use96Dpi, true); \
TestObject tc; \ TestObject tc; \
QTEST_SET_MAIN_SOURCE_PATH \ QTest::setMainSourcePath("anonymous"); \
return QTest::qExec(&tc, argc, argv); \ return QTest::qExec(&tc, argc, argv); \
} }