Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / af / 1a26bf2a07edc750a230929b9049dc6b4ab37e
1 Return-Path: <bremner@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 3CA4D431FC3\r
6         for <notmuch@notmuchmail.org>; Wed, 15 May 2013 04:03:43 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id G-2PcsODa63t for <notmuch@notmuchmail.org>;\r
16         Wed, 15 May 2013 04:03:36 -0700 (PDT)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id DC7F9431FD8\r
21         for <notmuch@notmuchmail.org>; Wed, 15 May 2013 04:03:22 -0700 (PDT)\r
22 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
23         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id r4FB3DgC020235;\r
24         Wed, 15 May 2013 08:03:13 -0300\r
25 Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net\r
26         ([156.34.82.78] helo=zancas.localnet)\r
27         by tesseract.cs.unb.ca with esmtpsa\r
28         (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80)\r
29         (envelope-from <bremner@tethera.net>)\r
30         id 1UcZUF-0002OD-GD; Wed, 15 May 2013 08:03:13 -0300\r
31 Received: from bremner by zancas.localnet with local (Exim 4.80)\r
32         (envelope-from <bremner@tethera.net>)\r
33         id 1UcZU9-0001mC-UR; Wed, 15 May 2013 08:03:05 -0300\r
34 From: david@tethera.net\r
35 To: notmuch@notmuchmail.org\r
36 Subject: [PATCH 2/4] perf-test: rename time tests to have .sh suffix\r
37 Date: Wed, 15 May 2013 08:03:01 -0300\r
38 Message-Id: <1368615783-4941-3-git-send-email-david@tethera.net>\r
39 X-Mailer: git-send-email 1.8.2.rc2\r
40 In-Reply-To: <1368615783-4941-1-git-send-email-david@tethera.net>\r
41 References: <1368615783-4941-1-git-send-email-david@tethera.net>\r
42 X-Spam_bar: -\r
43 Cc: David Bremner <bremner@debian.org>\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Wed, 15 May 2013 11:03:43 -0000\r
57 \r
58 From: David Bremner <bremner@debian.org>\r
59 \r
60 This will simplify notmuch time tests\r
61 ---\r
62  performance-test/T00-new             | 15 ---------------\r
63  performance-test/T00-new.sh          | 15 +++++++++++++++\r
64  performance-test/T01-dump-restore    | 13 -------------\r
65  performance-test/T01-dump-restore.sh | 13 +++++++++++++\r
66  performance-test/T02-tag             | 14 --------------\r
67  performance-test/T02-tag.sh          | 14 ++++++++++++++\r
68  6 files changed, 42 insertions(+), 42 deletions(-)\r
69  delete mode 100755 performance-test/T00-new\r
70  create mode 100755 performance-test/T00-new.sh\r
71  delete mode 100755 performance-test/T01-dump-restore\r
72  create mode 100755 performance-test/T01-dump-restore.sh\r
73  delete mode 100755 performance-test/T02-tag\r
74  create mode 100755 performance-test/T02-tag.sh\r
75 \r
76 diff --git a/performance-test/T00-new b/performance-test/T00-new\r
77 deleted file mode 100755\r
78 index 553bb8b..0000000\r
79 --- a/performance-test/T00-new\r
80 +++ /dev/null\r
81 @@ -1,15 +0,0 @@\r
82 -#!/bin/bash\r
83 -\r
84 -test_description='notmuch new'\r
85 -\r
86 -. ./perf-test-lib.sh\r
87 -\r
88 -uncache_database\r
89 -\r
90 -time_start\r
91 -\r
92 -for i in $(seq 2 6); do\r
93 -    time_run "notmuch new #$i" 'notmuch new'\r
94 -done\r
95 -\r
96 -time_done\r
97 diff --git a/performance-test/T00-new.sh b/performance-test/T00-new.sh\r
98 new file mode 100755\r
99 index 0000000..553bb8b\r
100 --- /dev/null\r
101 +++ b/performance-test/T00-new.sh\r
102 @@ -0,0 +1,15 @@\r
103 +#!/bin/bash\r
104 +\r
105 +test_description='notmuch new'\r
106 +\r
107 +. ./perf-test-lib.sh\r
108 +\r
109 +uncache_database\r
110 +\r
111 +time_start\r
112 +\r
113 +for i in $(seq 2 6); do\r
114 +    time_run "notmuch new #$i" 'notmuch new'\r
115 +done\r
116 +\r
117 +time_done\r
118 diff --git a/performance-test/T01-dump-restore b/performance-test/T01-dump-restore\r
119 deleted file mode 100755\r
120 index b2ff940..0000000\r
121 --- a/performance-test/T01-dump-restore\r
122 +++ /dev/null\r
123 @@ -1,13 +0,0 @@\r
124 -#!/bin/bash\r
125 -\r
126 -test_description='dump and restore'\r
127 -\r
128 -. ./perf-test-lib.sh\r
129 -\r
130 -time_start\r
131 -\r
132 -time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'\r
133 -time_run 'dump *' 'notmuch dump > tags.out'\r
134 -time_run 'restore *' 'notmuch restore < tags.out'\r
135 -\r
136 -time_done\r
137 diff --git a/performance-test/T01-dump-restore.sh b/performance-test/T01-dump-restore.sh\r
138 new file mode 100755\r
139 index 0000000..b2ff940\r
140 --- /dev/null\r
141 +++ b/performance-test/T01-dump-restore.sh\r
142 @@ -0,0 +1,13 @@\r
143 +#!/bin/bash\r
144 +\r
145 +test_description='dump and restore'\r
146 +\r
147 +. ./perf-test-lib.sh\r
148 +\r
149 +time_start\r
150 +\r
151 +time_run 'load nmbug tags' 'notmuch restore --accumulate < corpus.tags/nmbug.sup-dump'\r
152 +time_run 'dump *' 'notmuch dump > tags.out'\r
153 +time_run 'restore *' 'notmuch restore < tags.out'\r
154 +\r
155 +time_done\r
156 diff --git a/performance-test/T02-tag b/performance-test/T02-tag\r
157 deleted file mode 100755\r
158 index 78ceccc..0000000\r
159 --- a/performance-test/T02-tag\r
160 +++ /dev/null\r
161 @@ -1,14 +0,0 @@\r
162 -#!/bin/bash\r
163 -\r
164 -test_description='tagging'\r
165 -\r
166 -. ./perf-test-lib.sh\r
167 -\r
168 -time_start\r
169 -\r
170 -time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"\r
171 -time_run 'tag * +existing_tag' "notmuch tag +new_tag '*'"\r
172 -time_run 'tag * -existing_tag' "notmuch tag -new_tag '*'"\r
173 -time_run 'tag * -missing_tag' "notmuch tag -new_tag '*'"\r
174 -\r
175 -time_done\r
176 diff --git a/performance-test/T02-tag.sh b/performance-test/T02-tag.sh\r
177 new file mode 100755\r
178 index 0000000..78ceccc\r
179 --- /dev/null\r
180 +++ b/performance-test/T02-tag.sh\r
181 @@ -0,0 +1,14 @@\r
182 +#!/bin/bash\r
183 +\r
184 +test_description='tagging'\r
185 +\r
186 +. ./perf-test-lib.sh\r
187 +\r
188 +time_start\r
189 +\r
190 +time_run 'tag * +new_tag' "notmuch tag +new_tag '*'"\r
191 +time_run 'tag * +existing_tag' "notmuch tag +new_tag '*'"\r
192 +time_run 'tag * -existing_tag' "notmuch tag -new_tag '*'"\r
193 +time_run 'tag * -missing_tag' "notmuch tag -new_tag '*'"\r
194 +\r
195 +time_done\r
196 -- \r
197 1.8.2.rc2\r
198 \r