gtest: Use system gtest and pthread libs

* Rip out the gtest built in here.  Use the system library.
* Test against gtest-1.7.0-1 on Arch Linux
* Add the missing -lpthread library
This commit is contained in:
Kyle Manna 2015-08-17 18:44:31 -07:00
parent 36348a2375
commit 9fe7167920
2 changed files with 2 additions and 9595 deletions

View file

@ -24,5 +24,5 @@ test: capn-test
%-test.o: %-test.cpp *.h *.c *.inc %-test.o: %-test.cpp *.h *.c *.inc
$(CXX) -g -Wall -Werror -I. $(GTEST_CFLAGS) -o $@ -c $< $(CXX) -g -Wall -Werror -I. $(GTEST_CFLAGS) -o $@ -c $<
capn-test: capn-test.o capn-stream-test.o compiler/test.capnp.o compiler/schema-test.o compiler/schema.capnp.o gtest-all-test.o capn-test: capn-test.o capn-stream-test.o compiler/test.capnp.o compiler/schema-test.o compiler/schema.capnp.o
$(CXX) -g -Wall -Werror -I. -o $@ $^ $(CXX) -g -Wall -Werror -I. -lpthread -lgtest -o $@ $^

File diff suppressed because it is too large Load diff