mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
8180c0c028
Summary: Add a Makefile.am in the test directory that runs some of the test programs when "make check" is executed. Also removed some obsolete comments. Reviewed By: mcslee Test Plan: Ran make check, saw all tests pass. Ran make install, saw no test programs installed. Ran ./cleanup.sh, saw a pristine workspace. Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665458 13f79535-47bb-0310-9956-ffa450edef68
68 lines
1.2 KiB
Makefile
68 lines
1.2 KiB
Makefile
check_PROGRAMS = \
|
|
DebugProtoTest \
|
|
OptionalRequiredTest \
|
|
ReflectionTest
|
|
|
|
TESTS = \
|
|
$(check_PROGRAMS)
|
|
|
|
|
|
#
|
|
# DebugProtoTest
|
|
#
|
|
DebugProtoTest_SOURCES = \
|
|
gen-cpp/DebugProtoTest_types.cpp \
|
|
DebugProtoTest.cpp
|
|
|
|
DebugProtoTest_LDADD = \
|
|
$(top_srcdir)/lib/cpp/libthrift.la
|
|
|
|
|
|
#
|
|
# OptionalRequiredTest
|
|
#
|
|
OptionalRequiredTest_SOURCES = \
|
|
gen-cpp/OptionalRequiredTest_types.cpp \
|
|
OptionalRequiredTest.cpp
|
|
|
|
OptionalRequiredTest_LDADD = \
|
|
$(top_srcdir)/lib/cpp/libthrift.la
|
|
|
|
|
|
#
|
|
# ReflectionTest
|
|
#
|
|
ReflectionTest_SOURCES = \
|
|
gen-cpp/DebugProtoTest_types.cpp \
|
|
gen-cpp/PartiallyReflectable.cpp \
|
|
gen-cpp/Service.cpp \
|
|
gen-cpp/StressTest_types.cpp \
|
|
ReflectionTest.cpp
|
|
|
|
ReflectionTest_LDADD = \
|
|
$(top_srcdir)/lib/cpp/libthrift.la
|
|
|
|
|
|
#
|
|
# Common thrift code generation rules
|
|
#
|
|
THRIFT = $(top_srcdir)/compiler/cpp/thrift
|
|
|
|
gen-cpp/DebugProtoTest_types.cpp gen-cpp/PartiallyReflectable.cpp: DebugProtoTest.thrift
|
|
$(THRIFT) -cpp $<
|
|
|
|
gen-cpp/OptionalRequiredTest_types.cpp: OptionalRequiredTest.thrift
|
|
$(THRIFT) -cpp $<
|
|
|
|
gen-cpp/Service.cpp gen-cpp/StressTest_types.cpp: StressTest.thrift
|
|
$(THRIFT) -cpp $<
|
|
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir)/lib/cpp/src
|
|
|
|
AM_CPPFLAGS = $(BOOST_CPPFLAGS)
|
|
|
|
clean-local:
|
|
rm -rf gen-cpp
|