From edb37596847d59b6e5d470571a8cc197c474f36a Mon Sep 17 00:00:00 2001 From: Hefee Date: Wed, 11 May 2016 01:17:16 +0200 Subject: For tests we do not need a xserver running. Use for tests QTEST_GUILESS_MAIN and QTEST_APPLESS_MAIN. --- test/testsyncjournaldb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/testsyncjournaldb.cpp') diff --git a/test/testsyncjournaldb.cpp b/test/testsyncjournaldb.cpp index 9bfce3b54..3550750a6 100644 --- a/test/testsyncjournaldb.cpp +++ b/test/testsyncjournaldb.cpp @@ -171,5 +171,5 @@ private: SyncJournalDb _db; }; -QTEST_MAIN(TestSyncJournalDB) +QTEST_APPLESS_MAIN(TestSyncJournalDB) #include "testsyncjournaldb.moc" -- cgit v1.2.3