[PATCH] test: Simplify CLEAN list construction
authorAustin Clements <amdragon@MIT.EDU>
Tue, 25 Feb 2014 19:18:59 +0000 (14:18 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:15 +0000 (10:00 -0800)
55/26db06e4286f8c242b4563ce67ec64572c0a0d [new file with mode: 0644]

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