aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAllan LeSage <allanlesage@gmail.com>2012-03-15 11:30:13 -0500
committerAllan LeSage <allanlesage@gmail.com>2012-03-15 11:30:13 -0500
commitb11161a7ffab99f5415e4136ce9ddd0bf6e1fa76 (patch)
tree630885ec100a91e14714db799c00d128d8a32a77 /test
parent7c4783ff8593aa4d99c0f741e45438ab7b1ca2f9 (diff)
downloadayatana-indicator-messages-b11161a7ffab99f5415e4136ce9ddd0bf6e1fa76.tar.gz
ayatana-indicator-messages-b11161a7ffab99f5415e4136ce9ddd0bf6e1fa76.tar.bz2
ayatana-indicator-messages-b11161a7ffab99f5415e4136ce9ddd0bf6e1fa76.zip
Dummy commit on 'no rule' err.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am24
-rw-r--r--test/test-gtest.cpp13
2 files changed, 37 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 0000000..fa7bace
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,24 @@
+
+check_LIBRARIES = libgtest.a
+
+AM_CPPFLAGS = $(GTEST_CPPFLAGS)
+
+nodist_libgtest_a_SOURCES = $(GTEST_SOURCE)/src/gtest-all.cc
+libgtest_a_CPPFLAGS = $(GTEST_CPPFLAGS) -w
+libgtest_a_CXXFLAGS = $(AM_CXXFLAGS)
+
+libgtest_a_SOURCES = \
+ $(GTEST_SOURCE)/src/gtest-all.cc \
+ $(GTEST_SOURCE)/src/gtest-main.cc
+lib_gtest_a_CPPFLAGS = \
+ $(GTEST_CPPFLAGS) \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)
+libxorg_gtest_a_CXXFLAGS = $(GTEST_CXXFLAGS) $(AM_CXXFLAGS)
+
+check_PROGRAMS = test_gtest
+
+test_gtest_SOURCES = test-gtest.cpp
+
+test_gtest_LDADD = \
+ libgtest.a
diff --git a/test/test-gtest.cpp b/test/test-gtest.cpp
new file mode 100644
index 0000000..739a5c8
--- /dev/null
+++ b/test/test-gtest.cpp
@@ -0,0 +1,13 @@
+
+#include <stdio.h>
+#include <gtest.h>
+
+
+
+
+int
+main (int argc, char ** argv)
+{
+ printf("oheck\n");
+ return 0;
+}