[PATCH] configure: add --without-docs switch
[notmuch-archives.git] / 52 / f8d1b9e32090618a97dc8742a5d31787d42a88
1 Return-Path: <tomi.ollila@iki.fi>\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 D42F7431FAF\r
6         for <notmuch@notmuchmail.org>; Sun,  5 May 2013 12:27:50 -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: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 tbzJN8UIVYem for <notmuch@notmuchmail.org>;\r
16         Sun,  5 May 2013 12:27:47 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id EA511431FAE\r
19         for <notmuch@notmuchmail.org>; Sun,  5 May 2013 12:27:46 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id A98C2100033\r
22         for <notmuch@notmuchmail.org>; Sun,  5 May 2013 22:27:44 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH 1/2] test: add basic test for notmuch setup\r
26 In-Reply-To:\r
27  <9971e27c7c3fe569765bbca0f21de128ad1e4fac.1367781422.git.jani@nikula.org>\r
28 References:\r
29  <9971e27c7c3fe569765bbca0f21de128ad1e4fac.1367781422.git.jani@nikula.org>\r
30 User-Agent: Notmuch/0.15.2+75~gd7fa7c4 (http://notmuchmail.org) Emacs/24.3.1\r
31         (x86_64-unknown-linux-gnu)\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
33         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
34         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
35 Date: Sun, 05 May 2013 22:27:44 +0300\r
36 Message-ID: <m24nehmdlb.fsf@guru.guru-group.fi>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sun, 05 May 2013 19:27:51 -0000\r
52 \r
53 On Sun, May 05 2013, Jani Nikula <jani@nikula.org> wrote:\r
54 \r
55 > And annotate with test_subtest_known_broken. Hooray.\r
56 > ---\r
57 \r
58 LGTM (both patches). Tests pass (both make test and hand-tested\r
59 setup without having file ~/.notmuch-config).\r
60 \r
61 Tomi\r
62 \r
63 >  test/notmuch-test |    1 +\r
64 >  test/setup        |   28 ++++++++++++++++++++++++++++\r
65 >  2 files changed, 29 insertions(+)\r
66 >  create mode 100755 test/setup\r
67 >\r
68 > diff --git a/test/notmuch-test b/test/notmuch-test\r
69 > index ca9c3dc..27a144e 100755\r
70 > --- a/test/notmuch-test\r
71 > +++ b/test/notmuch-test\r
72 > @@ -20,6 +20,7 @@ TESTS="\r
73 >    basic\r
74 >    help-test\r
75 >    config\r
76 > +  setup\r
77 >    new\r
78 >    count\r
79 >    search\r
80 > diff --git a/test/setup b/test/setup\r
81 > new file mode 100755\r
82 > index 0000000..8cc5576\r
83 > --- /dev/null\r
84 > +++ b/test/setup\r
85 > @@ -0,0 +1,28 @@\r
86 > +#!/usr/bin/env bash\r
87 > +\r
88 > +test_description='"notmuch setup"'\r
89 > +. ./test-lib.sh\r
90 > +\r
91 > +test_begin_subtest "Create a new config interactively"\r
92 > +test_subtest_known_broken\r
93 > +notmuch --config=new-notmuch-config > /dev/null <<EOF\r
94 > +Test Suite\r
95 > +test.suite@example.com\r
96 > +another.suite@example.com\r
97 > +\r
98 > +/path/to/maildir\r
99 > +foo bar\r
100 > +baz\r
101 > +EOF\r
102 > +output=$(notmuch --config=new-notmuch-config config list)\r
103 > +test_expect_equal "$output" "\\r
104 > +database.path=/path/to/maildir\r
105 > +user.name=Test Suite\r
106 > +user.primary_email=test.suite@example.com\r
107 > +user.other_email=another.suite@example.com;\r
108 > +new.tags=foo;bar;\r
109 > +new.ignore=\r
110 > +search.exclude_tags=baz;\r
111 > +maildir.synchronize_flags=true"\r
112 > +\r
113 > +test_done\r
114 > -- \r
115 > 1.7.10.4\r
116 >\r
117 > _______________________________________________\r
118 > notmuch mailing list\r
119 > notmuch@notmuchmail.org\r
120 > http://notmuchmail.org/mailman/listinfo/notmuch\r