From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EDVoEbcqOmJDXAAAgWs5BA (envelope-from ) for ; Tue, 22 Mar 2022 20:59:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +OHkCbcqOmJYfQAAG6o9tA (envelope-from ) for ; Tue, 22 Mar 2022 20:59:51 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CB5923CC4E for ; Tue, 22 Mar 2022 20:59:50 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BFF4E5F700; Tue, 22 Mar 2022 19:59:48 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 11D0E5F6CF for ; Tue, 22 Mar 2022 19:59:46 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1000) id 532FF5FBD7; Tue, 22 Mar 2022 15:59:45 -0400 (EDT) From: David Bremner To: Mohsin Kaleem , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: add new option notmuch-search-exclude In-Reply-To: <87wngl4w2n.fsf@kisara.moe> References: <20211128200207.3455217-1-mohkale@kisara.moe> <8735mij0yo.fsf@tethera.net> <87pmme86cm.fsf@kisara.moe> <8735j9aj4u.fsf@tethera.net> <87wngl4w2n.fsf@kisara.moe> Date: Tue, 22 Mar 2022 15:59:45 -0400 Message-ID: <87zglh92ry.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: O4QC3OGEDDXOWDKHYL5KEO3GG5QPOBW6 X-Message-ID-Hash: O4QC3OGEDDXOWDKHYL5KEO3GG5QPOBW6 X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647979190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=FUW7EA1y64ploKsIkvfzS3w66XiVC6sBj0fZXsll5yM=; b=shhrMicoXS/YBw/xKoyN+PLPXC0g3HlV6FlLRiakf1jfM6Gyf46ey2emhmX+QvI6eumoIW EG/yW9bE/Yz6HylbPIRQp+sszAntL2XTxozHS7TYD0Cf0iYufcRyMfGqPbAZj9gyKzdH7b cHYl5TLdmlosfT4FQ1Br4A82EB4dfVw/aSqpUgLoOWWz67Yp7cV32u0JThGo+gP7maBt55 3GrdMw6HFWSaFvTRs3A7vxGyLJnubEYsgnk/v2RzHEWbfPgpURN1phdDIByZ3ifqJNf7dR ty3rA9kas/ZLqiXKdBjdUdYCd2m93X6XZE1oVm9LQjgJg3ryFtRY3Tv8pdr90w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647979190; a=rsa-sha256; cv=none; b=fUMvXnTlQsX2ktf8fRjaH8xSnBY1DgIO/2JQ+qEFNxVwcnYJlbm4JyJ12vrntfq5gpmchn OhXOerex7LjIVlmJezXgVZtNUW5QTCcWXB5Df8hnAADqJCKUGQj1SjukGgwRW+8iyYnzmq uURaLcz2Cajchg9d7cCObjTD4SIDEz2yV/XUmTW6Heuew/78AmXncpLMjyEjT+llsW+fBW Lxn/kPhm0KjnxHTHx2nhJVO22yhmoZCtQr7b7E04i0LuNJFUMoecb0ciNWsZjymg7PPnAa buH3SIpk3y4FHwIGpQnqfONBkhcBjQYh2XPycwJcWd4Iw/dK9io+KfPPTlApkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: CB5923CC4E X-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: Sj4Y9ieNsCbM Mohsin Kaleem writes: > David Bremner writes: > >> Can you be more specific about what tests are failing? > > Pretty much all of them, although I'm beginning to suspect it may be an > environment issue on my part. > > I've attached the output of running `make test` in the root of the > project from master, do you have any idea why so much seems to be > failing. Some python tests fail with no module named pytest but I do > have it installed, others seem to be failing because they cannot find > (or maybe create) a database file. I thought it might be because the > directory for the database doesn't exist so I made it manually yet the > tests are still failing :/. The test suite creates many databases, so manual creation should not be needed.q Running the tests under .cache is a bit unusual, but it seems to work ok for me. This makes me think the problem is some environment variable. It's just a guess, but do you by chance override XDG_DATA_HOME? I can imagine that causing problems for the test suite. d