diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 24 | ||||
-rw-r--r-- | test/test-gtest.cpp | 13 |
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; +} |