[PATCH v2 0/5] Git-based modularization of test suite
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 10 May 2010 16:47:59 +0000 (18:47 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:02 +0000 (09:37 -0800)
7a/0dbe577f26c261b0965f0ac5bd024f6106e939 [new file with mode: 0644]

diff --git a/7a/0dbe577f26c261b0965f0ac5bd024f6106e939 b/7a/0dbe577f26c261b0965f0ac5bd024f6106e939
new file mode 100644 (file)
index 0000000..41c95a9
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <sojkam1@fel.cvut.cz>\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 681EC418C36\r
+       for <notmuch@notmuchmail.org>; Mon, 10 May 2010 09:48:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.8\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8]\r
+       autolearn=ham\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 Ng2Qe3Gn0MCp for <notmuch@notmuchmail.org>;\r
+       Mon, 10 May 2010 09:48:21 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id 773A54196F0\r
+       for <notmuch@notmuchmail.org>; Mon, 10 May 2010 09:48:21 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id A29D319F35BF;\r
+       Mon, 10 May 2010 18:48:19 +0200 (CEST)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id 42m+btoIdNe4; Mon, 10 May 2010 18:48:14 +0200 (CEST)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 24B7319F3407;\r
+       Mon, 10 May 2010 18:48:14 +0200 (CEST)\r
+Received: from steelpick.2x.cz (k335-30.felk.cvut.cz [147.32.86.30])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id 13124FA003;\r
+       Mon, 10 May 2010 18:48:13 +0200 (CEST)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.71)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1OBW9N-0005BT-9V; Mon, 10 May 2010 18:48:13 +0200\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/5] Git-based modularization of test suite\r
+Date: Mon, 10 May 2010 18:47:59 +0200\r
+Message-Id: <1273510084-19896-1-git-send-email-sojkam1@fel.cvut.cz>\r
+X-Mailer: git-send-email 1.7.1\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: Mon, 10 May 2010 16:48:34 -0000\r
+\r
+Hi,\r
+\r
+Git's test suite was finally reslicensed and we can use it for\r
+notmuch. Here is the converted and modularized version of notmuch-test\r
+script which uses git's test-lib.sh.\r
+\r
+The conversion was done semi-automatically, so I hope I didn't\r
+introduce to much errors in the tests.\r
+\r
+Michal Sojka (5):\r
+  Copy test framework from Git\r
+  Update test framework for use with notmuch\r
+  test: Update helper functions\r
+  Convert the actual tests to the new framework\r
+  test: Set all times to UTC\r
+\r
+ test/Makefile                        |   49 ++\r
+ test/README                          |  299 +++++++++\r
+ test/aggregate-results.sh            |   34 +\r
+ test/notmuch-test                    | 1114 +---------------------------------\r
+ test/t0000-basic.sh                  |   88 +++\r
+ test/t0001-new.sh                    |  164 +++++\r
+ test/t0002-search.sh                 |  111 ++++\r
+ test/t0003-json.sh                   |   46 ++\r
+ test/t0004-thread-naming.sh          |  191 ++++++\r
+ test/t0005-reply.sh                  |  122 ++++\r
+ test/t0006-dump-restore.sh           |   30 +\r
+ test/t0007-uuencode.sh               |   36 ++\r
+ test/t0008-threading-out-of-order.sh |   31 +\r
+ test/t0009-author-reordering.sh      |   35 ++\r
+ test/t0010-from-line-heuristics.sh   |  214 +++++++\r
+ test/test-lib.sh                     |  901 +++++++++++++++++++++++++++\r
+ 16 files changed, 2353 insertions(+), 1112 deletions(-)\r
+ create mode 100644 test/Makefile\r
+ create mode 100644 test/README\r
+ create mode 100755 test/aggregate-results.sh\r
+ create mode 100755 test/t0000-basic.sh\r
+ create mode 100755 test/t0001-new.sh\r
+ create mode 100755 test/t0002-search.sh\r
+ create mode 100755 test/t0003-json.sh\r
+ create mode 100755 test/t0004-thread-naming.sh\r
+ create mode 100755 test/t0005-reply.sh\r
+ create mode 100755 test/t0006-dump-restore.sh\r
+ create mode 100755 test/t0007-uuencode.sh\r
+ create mode 100755 test/t0008-threading-out-of-order.sh\r
+ create mode 100755 test/t0009-author-reordering.sh\r
+ create mode 100755 test/t0010-from-line-heuristics.sh\r
+ create mode 100755 test/test-lib.sh\r
+\r