Commit 3048a965 authored by David Faure's avatar David Faure
Browse files

autotests: workaround ctest not exiting when klauncher was started by the test

parent 3b0126cd
......@@ -30,6 +30,11 @@ QTEST_MAIN(AttachmentFromUrlJobTest)
#define PATH_ATTACHMENTS QLatin1String( KDESRCDIR "/attachments/" )
void AttachmentFromUrlJobTest::initTestCase()
qputenv("KDE_FORK_SLAVES", "yes"); // To avoid a runtime dependency on klauncher
void AttachmentFromUrlJobTest::testAttachments_data()
......@@ -26,6 +26,7 @@ class AttachmentFromUrlJobTest : public QObject
private Q_SLOTS:
void initTestCase();
void testAttachments_data();
void testAttachments();
void testAttachmentTooBig();
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