From bc3517bb367cd789e75f788757367d2b468f1ba6 Mon Sep 17 00:00:00 2001 From: Marius Gripsgard Date: Wed, 3 Feb 2021 14:50:34 +0100 Subject: =?UTF-8?q?Revert=20"tests/:=20Don't=20run=20Lomiri=20related=20un?= =?UTF-8?q?it=20test,=20if=20library=20hasn't=20been=20bu=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/CMakeLists.txt | 4 ---- tests/tst_utils.cpp | 2 -- 2 files changed, 6 deletions(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index fb77924..1c5d318 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,9 +1,5 @@ find_package(GMock) -if(URLDISPATCHER_FOUND) - add_definitions( -DHAS_URLDISPATCHER ) -endif() - include_directories( ${CMAKE_SOURCE_DIR}/src ) diff --git a/tests/tst_utils.cpp b/tests/tst_utils.cpp index ac671f0..d7a4946 100644 --- a/tests/tst_utils.cpp +++ b/tests/tst_utils.cpp @@ -35,14 +35,12 @@ public: } }; -#ifdef HAS_URLDISPATCHER TEST_F(XdgCurrentDesktopUtilsTest, isLomiri) { EXPECT_FALSE(is_lomiri()); setenv("XDG_CURRENT_DESKTOP", "Lomiri", 1); EXPECT_TRUE(is_lomiri()); } -#endif TEST_F(XdgCurrentDesktopUtilsTest, isGnome) { -- cgit v1.2.3