From: Austin Clements Date: Tue, 25 Feb 2014 19:18:59 +0000 (+1900) Subject: [PATCH] test: Simplify CLEAN list construction X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd19dc1bdcad9f368768a3b388ac3bc619cbe6f7;p=notmuch-archives.git [PATCH] test: Simplify CLEAN list construction --- diff --git a/55/26db06e4286f8c242b4563ce67ec64572c0a0d b/55/26db06e4286f8c242b4563ce67ec64572c0a0d new file mode 100644 index 000000000..516c3c6a3 --- /dev/null +++ b/55/26db06e4286f8c242b4563ce67ec64572c0a0d @@ -0,0 +1,99 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1A811429E45 + for ; Tue, 25 Feb 2014 11:19:21 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 ye8Okw-G3TA7 for ; + Tue, 25 Feb 2014 11:19:14 -0800 (PST) +Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu + [18.7.68.36]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B0900429E43 + for ; Tue, 25 Feb 2014 11:19:14 -0800 (PST) +X-AuditID: 12074424-f79e26d000000c70-1c-530cecb1fc7b +Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP + id 1C.D4.03184.1BCEC035; Tue, 25 Feb 2014 14:19:13 -0500 (EST) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s1PJJBJA015342; + Tue, 25 Feb 2014 14:19:11 -0500 +Received: from drake.dyndns.org (26-4-182.dynamic.csail.mit.edu [18.26.4.182]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s1PJJ9iF027140 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); + Tue, 25 Feb 2014 14:19:11 -0500 +Received: from amthrax by drake.dyndns.org with local (Exim 4.77) + (envelope-from ) + id 1WINX3-0003mW-6S; Tue, 25 Feb 2014 14:19:09 -0500 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [PATCH] test: Simplify CLEAN list construction +Date: Tue, 25 Feb 2014 14:18:59 -0500 +Message-Id: <1393355939-14431-1-git-send-email-amdragon@mit.edu> +X-Mailer: git-send-email 1.8.4.rc3 +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsUixCmqrLvxDU+wwfL7qhbXb85kdmD0eLbq + FnMAYxSXTUpqTmZZapG+XQJXxqF/61gKGtkrfj35zNrA+I21i5GDQ0LARGJ+m1EXIyeQKSZx + 4d56ti5GLg4hgdlMEvPfrGOBcDYySpxY/pcdwjnCJPFv8R9WCGcuo8SKfZ9ZQPrZBDQktu1f + zghiiwhIS+y8OxtsBbOAmsSfLhWQsLCAucSMhmNsIDaLgKrE+9e3wWxeAQeJ87NusUGcoSSx + 8NQ21gmMvAsYGVYxyqbkVunmJmbmFKcm6xYnJ+blpRbpmuvlZpbopaaUbmIEBQG7i8oOxuZD + SocYBTgYlXh4O4u5g4VYE8uKK3MPMUpyMCmJ8hq+4AkW4kvKT6nMSCzOiC8qzUktPsQowcGs + JMJ7dRVQjjclsbIqtSgfJiXNwaIkzltr8StISCA9sSQ1OzW1ILUIJivDwaEkwcsEDHYhwaLU + 9NSKtMycEoQ0EwcnyHAeoOFZr0GGFxck5hZnpkPkTzEqSonzbgZJCIAkMkrz4HphUfqKURzo + FWFedpAVPMAIh+t+BTSYCWjwUWmwwSWJCCmpBsaAxCNbcr/k2/89yMa94O7bRXNWJPx5zGUl + Z3X/YY+bq1dZ9clvnbaKe8pXZf0QfOVidcNa0Sj9YFrWuxNzNmicfjn1EctU4Vc16hac3jyG + a98fiRNp/pnFOvlIi+v56wsfq5Tbn3xR6NDzQKrj8SWJI12P1Wf7XZszW8VwYqhIy+8Z7bkG + OxmUWIozEg21mIuKEwE7okWTrQIAAA== +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: Tue, 25 Feb 2014 19:19:21 -0000 + +Construct as much of the CLEAN list from TEST_BINARIES as possible, +rather than duplicating this information by hand. +--- + test/Makefile.local | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/test/Makefile.local b/test/Makefile.local +index 8870ca3..99324ba 100644 +--- a/test/Makefile.local ++++ b/test/Makefile.local +@@ -50,11 +50,6 @@ test: all test-binaries + check: test + + SRCS := $(SRCS) $(smtp_dummy_srcs) +-CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \ +- $(dir)/symbol-test $(dir)/symbol-test.o \ +- $(dir)/arg-test $(dir)/arg-test.o \ +- $(dir)/hex-xcode $(dir)/hex-xcode.o \ ++CLEAN += $(TEST_BINARIES) $(addsuffix .o,$(TEST_BINARIES)) \ + $(dir)/database-test.o \ +- $(dir)/random-corpus $(dir)/random-corpus.o \ +- $(dir)/parse-time $(dir)/parse-time.o \ + $(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.* +-- +1.8.4.rc3 +