summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2015-03-24 22:09:40 -0700
committerJim Meyering <meyering@fb.com>2015-03-24 22:09:40 -0700
commitca25e86efc87e89faf3238cca128482cf68f5b42 (patch)
treeaa29af5024b9b1ed7db145d23cbf3e3e073fc799 /Makefile
parent986bdc68012c7830f36164fb5516af226e1e8adf (diff)
build: cause the "check" rule to depend on $(PROGRAMS)
Summary: * Makefile (check): Cause "make check" to build all $(PROGRAMS), so that it verifies that the few benchmark-only source files that not already built via "make check" do compile and link successfully. Test Plan: run "make clean; make check", and verify that table/table_reader_bench.cc is now compiled. Before, it was not, which led to an incomplete fix for a build break. Reviewers: ljin, igor.sugak, rven, igor, sdong Reviewed By: sdong Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D35883
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a21dd96ab..03f12cec5 100644
--- a/Makefile
+++ b/Makefile
@@ -328,7 +328,7 @@ coverage:
# Delete intermediate files
find . -type f -regex ".*\.\(\(gcda\)\|\(gcno\)\)" -exec rm {} \;
-check: $(TESTS) ldb
+check: $(TESTS) $(PROGRAMS)
for t in $(TESTS); do echo "***** Running $$t"; ./$$t || exit 1; done
python tools/ldb_test.py