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 C92A7429E2E for ; Wed, 16 Nov 2011 17:57:08 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 TPbsCh2doPOF for ; Wed, 16 Nov 2011 17:57:08 -0800 (PST) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E94BB429E3E for ; Wed, 16 Nov 2011 17:57:01 -0800 (PST) Received: by mail-bw0-f53.google.com with SMTP id q10so1456807bka.26 for ; Wed, 16 Nov 2011 17:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; bh=qC37T1mi56b1lRIPHtzBDyQEtB78GPcd92dVNvGwIPU=; b=wktgJjPX2OCXpR079smPo2mwAXo0v6NLCBaBUFvhQPet+JKVxncRAgwlY5Z/Wd9ySX ANpWJxS4Tmhy2QpPDHJhRp0W0Bf2LzUw7l9K6K3fw6GQYYwPM+kppn0ZyRKyXujU7KUp L+54oFx7k8M37FKdBUobI2uNXILAMSlhTPlbg= Received: by 10.205.127.142 with SMTP id ha14mr23341690bkc.116.1321495021654; Wed, 16 Nov 2011 17:57:01 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id dq2sm39498213bkb.11.2011.11.16.17.57.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Nov 2011 17:57:01 -0800 (PST) From: Dmitry Kurochkin To: notmuch@notmuchmail.org Subject: [PATCH 7/9] test: declare external dependencies for the tests Date: Thu, 17 Nov 2011 05:56:24 +0400 Message-Id: <1321494986-18998-8-git-send-email-dmitry.kurochkin@gmail.com> X-Mailer: git-send-email 1.7.7.2 In-Reply-To: <1321494986-18998-1-git-send-email-dmitry.kurochkin@gmail.com> References: <1321494986-18998-1-git-send-email-dmitry.kurochkin@gmail.com> 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: Thu, 17 Nov 2011 01:57:09 -0000 That are: dtach(1), emacs(1), emacsclient(1), gdb(1) and gpg(1). --- test/test-lib.sh | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index c11493d..840c86c 100755 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -1101,20 +1101,27 @@ case $(uname -s) in pwd () { builtin pwd -W } # no POSIX permissions # backslashes in pathspec are converted to '/' # exec does not inherit the PID ;; *) test_set_prereq POSIXPERM test_set_prereq BSLASHPSPEC test_set_prereq EXECKEEPSPID ;; esac test -z "$NO_PERL" && test_set_prereq PERL test -z "$NO_PYTHON" && test_set_prereq PYTHON # test whether the filesystem supports symbolic links ln -s x y 2>/dev/null && test -h y 2>/dev/null && test_set_prereq SYMLINKS rm -f y + +# declare prerequisites for external binaries used in tests +test_declare_external_prereq dtach +test_declare_external_prereq emacs +test_declare_external_prereq emacsclient +test_declare_external_prereq gdb +test_declare_external_prereq gpg -- 1.7.7.2