diff options
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | test/test-gtest.cpp | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 6d4e4ee..0b5a4a3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,11 @@ SUBDIRS = \ data \ po +if BUILD_TESTS +SUBDIRS += \ + test +endif + DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall --enable-deprecations dist-hook: diff --git a/test/test-gtest.cpp b/test/test-gtest.cpp index bb9943d..1cc97be 100644 --- a/test/test-gtest.cpp +++ b/test/test-gtest.cpp @@ -8,9 +8,5 @@ extern "C" { TEST(LauncherMenuItem, NameInitialized) { g_type_init(); - //const gchar * expected = "foo"; - //LauncherMenuItem * test_li = launcher_menu_item_new ("foo"); - //gchar * result = launcher_menu_item_get_name(test_li); - //EXPECT_EQ(0, strcmp("foo", result)); EXPECT_TRUE(true); } |