From ab5696a78727fc9d20a5679481876e926baf7de7 Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Mon, 19 Mar 2012 13:38:41 -0500 Subject: Corrected a Makefile merge omission for tests, stripped down dummy test. --- Makefile.am | 5 +++++ 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); } -- cgit v1.2.3