Only build tests when running "make check", not "make".

This commit is contained in:
kenton@google.com 2008-11-07 18:06:24 +00:00
parent d0580eafd3
commit 32d0c3b853

View file

@ -204,7 +204,7 @@ unittest_proto_middleman: protoc$(EXEEXT) $(protoc_inputs)
$(protoc_outputs): unittest_proto_middleman
noinst_PROGRAMS = protobuf-test
check_PROGRAMS = protobuf-test
protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la
protobuf_test_SOURCES = \
google/protobuf/stubs/common_unittest.cc \