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/testinotifywatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/testinotifywatcher.cpp') diff --git a/test/testinotifywatcher.cpp b/test/testinotifywatcher.cpp index c1100aa6e..799b09da9 100644 --- a/test/testinotifywatcher.cpp +++ b/test/testinotifywatcher.cpp @@ -69,5 +69,5 @@ private slots: } }; -QTEST_MAIN(TestInotifyWatcher) +QTEST_APPLESS_MAIN(TestInotifyWatcher) #include "testinotifywatcher.moc" -- cgit v1.2.3