Link spooky hash tests missing libfollybenchmark.a.
authorPeter Griess <pgriess@fb.com>
Fri, 4 Oct 2013 23:48:25 +0000 (18:48 -0500)
committerPeter Griess <pgriess@fb.com>
Tue, 15 Oct 2013 01:46:21 +0000 (18:46 -0700)
Summary: - This test uses the benchmarking library, which it wasn't linking; fix.

Test Plan:
- fbconfig -r folly && fbmake runtests
- ./configure && make check on Ubuntu/FC/Mac

Reviewed By: delong.j@fb.com

FB internal diff: D998510

folly/test/Makefile.am

index 65cab8a5a396fc9ec836a804b194246666cb2b6b..3680960eaae583cecf8a49c87219e908d0a9b68d 100644 (file)
@@ -177,11 +177,11 @@ cpuid_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
 TESTS += cpuid_test
 
 spooky_hash_v1_test_SOURCES = SpookyHashV1Test.cpp
-spooky_hash_v1_test_LDADD = -lrt $(top_builddir)/libfolly.la
+spooky_hash_v1_test_LDADD = -lrt $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
 TESTS += spooky_hash_v1_test
 
 spooky_hash_v2_test_SOURCES = SpookyHashV2Test.cpp
-spooky_hash_v2_test_LDADD = -lrt $(top_builddir)/libfolly.la
+spooky_hash_v2_test_LDADD = -lrt $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
 TESTS += spooky_hash_v2_test
 
 check_PROGRAMS= $(TESTS)