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