From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 214EA431FD9 for ; Thu, 31 Jul 2014 19:10:23 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2oU087MueSfS for ; Thu, 31 Jul 2014 19:10:17 -0700 (PDT) Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu [18.7.68.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A6B6F431FBD for ; Thu, 31 Jul 2014 19:10:11 -0700 (PDT) X-AuditID: 12074425-f79766d000006da8-5d-53daf702d9e7 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id AA.2B.28072.207FAD35; Thu, 31 Jul 2014 22:10:10 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id s712AAvQ010401; Thu, 31 Jul 2014 22:10:10 -0400 Received: from drake.dyndns.org (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com [216.15.114.40]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s712A6vo029971 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Thu, 31 Jul 2014 22:10:08 -0400 Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1XD2IH-00033U-Qp; Thu, 31 Jul 2014 22:10:05 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH v3 01/13] test: Include generated dependencies for test sources Date: Thu, 31 Jul 2014 22:09:51 -0400 Message-Id: <1406859003-11561-2-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1406859003-11561-1-git-send-email-amdragon@mit.edu> References: <1406859003-11561-1-git-send-email-amdragon@mit.edu> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNIsWRmVeSWpSXmKPExsUixG6nrsv0/VawwfIpNhar5/JYXL85k9mB yWPnrLvsHs9W3WIOYIrisklJzcksSy3St0vgyuj9dpCx4Bp3xaTJE1kbGHdwdjFyckgImEi0 /dnGBmGLSVy4tx7I5uIQEpjNJPHi0AMWCGcjo8SEW73sEM4dJomVFy+zgrQICcxllJj3ihfE ZhPQkNi2fzkjiC0iIC2x8+5ssBpmAUeJz/sXAY3l4BAW8JdY9lYZJMwioCrxctp3dhCbV8BB 4srRhawQV8hJNNz4BHYRJ1Dr/38LoFY5SLSe3so8gZF/ASPDKkbZlNwq3dzEzJzi1GTd4uTE vLzUIl0LvdzMEr3UlNJNjOAwclHdwTjhkNIhRgEORiUeXofQW8FCrIllxZW5hxglOZiURHlt PgKF+JLyUyozEosz4otKc1KLDzFKcDArifC+/ACU401JrKxKLcqHSUlzsCiJ8761tgoWEkhP LEnNTk0tSC2CycpwcChJ8J75CtQoWJSanlqRlplTgpBm4uAEGc4DNFzoG8jw4oLE3OLMdIj8 KUZFKXHePSDNAiCJjNI8uF5YnL9iFAd6RZj3IUgVDzBFwHW/AhrMBDT4+a3rIINLEhFSUg2M cx6l39aZ96nFq7fStM91G5NFRazy6/CezGbfH5w29mceZe2UlHnWY/tx9beZGqypcitOCgSt Uv5ozXg1uvNb1hvX++yPXLdc+6d0f8PHCY/6+ll4s/8f4ahRsFk2a2malNOeN2/6Xy60rG8y /yu1xLWFjUHg58xrtzvzNgpH5WSe8ne9v5dBiaU4I9FQi7moOBEABXjOnM4CAAA= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 02:10:23 -0000 Previously the build system was generating automatic header dependencies for test sources, but only smtp-dummy was in SRCS, so only its dependencies were being included. Add all of the test sources to SRCS so that the root Makefile.local includes their dependencies. --- test/Makefile.local | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/test/Makefile.local b/test/Makefile.local index 1c85b18..916dd0b 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -37,12 +37,17 @@ $(dir)/parse-time: $(dir)/parse-time.o parse-time-string/parse-time-string.o .PHONY: test check -TEST_BINARIES=$(dir)/arg-test \ - $(dir)/hex-xcode \ - $(dir)/random-corpus \ - $(dir)/parse-time \ - $(dir)/smtp-dummy \ - $(dir)/symbol-test +test_main_srcs=$(dir)/arg-test.c \ + $(dir)/hex-xcode.c \ + $(dir)/random-corpus.c \ + $(dir)/parse-time.c \ + $(dir)/smtp-dummy.c \ + $(dir)/symbol-test.cc \ + +test_srcs=$(test_main_srcs) $(dir)/database-test.c + +TEST_BINARIES := $(test_main_srcs:.c=) +TEST_BINARIES := $(TEST_BINARIES:.cc=) test-binaries: $(TEST_BINARIES) @@ -51,7 +56,7 @@ test: all test-binaries check: test -SRCS := $(SRCS) $(smtp_dummy_srcs) +SRCS := $(SRCS) $(test_srcs) CLEAN += $(TEST_BINARIES) $(addsuffix .o,$(TEST_BINARIES)) \ $(dir)/database-test.o \ $(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.* -- 2.0.0