You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2014/09/06 15:00:15 UTC

git commit: Fix EnumTest (part 2) Patch: Konrad Grochowski, as part of his pull request 209

Repository: thrift
Updated Branches:
  refs/heads/master 4d223c6fe -> 1235ee3f2


Fix EnumTest (part 2)
Patch: Konrad Grochowski, as part of his pull request 209


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/1235ee3f
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/1235ee3f
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/1235ee3f

Branch: refs/heads/master
Commit: 1235ee3f2a65694793a3ef0c7c47d0245b293e52
Parents: 4d223c6
Author: Jens Geyer <je...@apache.org>
Authored: Sat Sep 6 14:58:09 2014 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Sat Sep 6 14:59:51 2014 +0200

----------------------------------------------------------------------
 .gitignore               | 1 +
 lib/cpp/test/Makefile.am | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/1235ee3f/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 51c9459..a3344b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,6 +82,7 @@ test-driver
 /lib/cpp/test/Benchmark
 /lib/cpp/test/AllProtocolsTest
 /lib/cpp/test/DebugProtoTest
+/lib/cpp/test/EnumTest
 /lib/cpp/test/JSONProtoTest
 /lib/cpp/test/OptionalRequiredTest
 /lib/cpp/test/SpecializationTest

http://git-wip-us.apache.org/repos/asf/thrift/blob/1235ee3f/lib/cpp/test/Makefile.am
----------------------------------------------------------------------
diff --git a/lib/cpp/test/Makefile.am b/lib/cpp/test/Makefile.am
index e68e66b..b3f66bd 100755
--- a/lib/cpp/test/Makefile.am
+++ b/lib/cpp/test/Makefile.am
@@ -120,7 +120,7 @@ EnumTest_SOURCES = \
 
 EnumTest_LDADD = \
   libtestgencpp.la \
-  $(BOOST_ROOT_PATH)/lib/libboost_unit_test_framework.a
+  -l:libboost_unit_test_framework.a 
 
 TFileTransportTest_SOURCES = \
 	TFileTransportTest.cpp
@@ -244,7 +244,7 @@ gen-cpp/DebugProtoTest_types.cpp gen-cpp/DebugProtoTest_types.h: $(top_srcdir)/t
 	$(THRIFT) --gen cpp:dense $<
 
 gen-cpp/EnumTest_types.cpp gen-cpp/EnumTest_types.h: $(top_srcdir)/test/EnumTest.thrift
-	$(THRIFT) --gen cpp $<
+	$(THRIFT) --gen cpp:pure_enums $<
 
 gen-cpp/OptionalRequiredTest_types.cpp gen-cpp/OptionalRequiredTest_types.h: $(top_srcdir)/test/OptionalRequiredTest.thrift
 	$(THRIFT) --gen cpp:dense $<