From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 289B1429E32 for ; Mon, 3 Oct 2011 09:48:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 KEdjFH+stuGz for ; Mon, 3 Oct 2011 09:48:45 -0700 (PDT) Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222]) by olra.theworths.org (Postfix) with ESMTP id 0F335429E21 for ; Mon, 3 Oct 2011 09:48:45 -0700 (PDT) Received: from localhost.localdomain (thor.loria.fr [152.81.12.250]) by ks3536.kimsufi.com (Postfix) with ESMTPSA id 1384A6A069B; Mon, 3 Oct 2011 18:48:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net; s=key-schnouki; t=1317660523; bh=pWEFzwRGA6uLB5pgxvBjipRJBzA7HxxakujIEnys5oQ=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References; b=ECRMU3iDPCeBZAbqqtgizpajW8Wadj+Jjo1wyXDFikHdLtIGBLCmT1RwZ+ugBF2i5 SsWJgKuyA1b7xbmCWsb/zeCks8JWsXNLx6INZvqOJLqmMleVzjLSj9519I/d7a6DVr 8cpaD/QEXGKbXSjaB2yw5pedeUey4bSPm8ZAbmW8= From: Thomas Jost To: notmuch@notmuchmail.org Subject: [PATCH 00/13] Test prereqs and screen-based Emacs tests Date: Mon, 3 Oct 2011 18:47:14 +0200 Message-Id: <1317660447-27520-1-git-send-email-schnouki@schnouki.net> X-Mailer: git-send-email 1.7.6.4 In-Reply-To: <871uuuywtt.fsf@convex-new.cs.unb.ca> References: <871uuuywtt.fsf@convex-new.cs.unb.ca> 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, 03 Oct 2011 16:48:46 -0000 Here it is: a rebased version of Pieter's patch series adding prereqs for the emacs and crypto tests [1], and Dmitry's patches for running emacs inside screen in the test suite [2]. (Please note that this one also includes fixes to improve hidden signatures handling in notmuch-show-advance-and-archive.) I had to do several changes to the original patches: - prereqs are not tested using test_expect_success as they were in Pieter's original patches, but using a new function called test_set_bin_prereq. I wrote this before the gdb prereq was added, hence the different way to set it. - some fixes in Pieter's patches so that it actually works when gpg is not installed. Can't exactly remember what (...but you can just check his original patches), but in the end it was working fine in a chroot without gpg. - I added a little patch to smtp-dummy that makes the test suite work again in Emacs 24 (tested with emacs-pretest 24.0.90). Here are the results when running the test suite on my computer: - without GNU Screen: All 247 tests behaved as expected (1 expected failure). 46 tests skipped. - with GNU Screen: 242/247 tests passed. 2 broken tests failed as expected. 3 tests failed. (The 3 failed tests come from some trouble with Emacs 24, I'll try to fix this later.) *Many* thanks to Dmitry Kurochkin and Pieter Praet for their work! Regards, Thomas [1] id:"1307016220-17509-1-git-send-email-pieter@praet.org" [2] id:"1309496122-4965-1-git-send-email-dmitry.kurochkin@gmail.com" Dmitry Kurochkin (7): test: run emacs inside screen test: avoid using screen(1) configuration files test: do not set frame width in emacs test: `notmuch-show-advance-and-archive' with invisible signature emacs: improve hidden signatures handling in notmuch-show-advance-and-archive emacs: remove no longer used functions from notmuch-show.el emacs: remove unused `point-invisible-p' function Pieter Praet (4): test: add 'GnuPG' prereq to dependent 'crypto' tests test: add 'Emacs' prereq to dependent 'crypto' tests test: add 'Emacs' prereq to dependent 'emacs' tests test: add 'Emacs' prereq to dependent 'emacs-large-search-buffer' tests Thomas Jost (2): test: define a helper function for defining prereqs on executables test: make smtp-dummy work with Emacs 24 emacs/notmuch-lib.el | 15 ------- emacs/notmuch-show.el | 25 ++++------- test/crypto | 46 ++++++++++++++------- test/emacs | 85 ++++++++++++++++++++++++--------------- test/emacs-large-search-buffer | 9 +++- test/smtp-dummy.c | 2 +- test/test-lib.el | 3 - test/test-lib.sh | 31 +++++++++++++-- 8 files changed, 127 insertions(+), 89 deletions(-) -- 1.7.6.4