diff options
author | Allan LeSage <allanlesage@gmail.com> | 2012-03-19 13:38:41 -0500 |
---|---|---|
committer | Allan LeSage <allanlesage@gmail.com> | 2012-03-19 13:38:41 -0500 |
commit | ab5696a78727fc9d20a5679481876e926baf7de7 (patch) | |
tree | e2b64d6ff2cea45ca9194965d0ac4ff959547313 | |
parent | b379f9b1ffd13663fb869038194152b8cddf8c49 (diff) | |
download | ayatana-indicator-messages-ab5696a78727fc9d20a5679481876e926baf7de7.tar.gz ayatana-indicator-messages-ab5696a78727fc9d20a5679481876e926baf7de7.tar.bz2 ayatana-indicator-messages-ab5696a78727fc9d20a5679481876e926baf7de7.zip |
Corrected a Makefile merge omission for tests, stripped down dummy test.
-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); } |