From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 1phKFoC3yl5kYAAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 18:05:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kP65EYC3yl5SGgAAB5/wlQ (envelope-from ) for ; Sun, 24 May 2020 18:05:52 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D70729402D1 for ; Sun, 24 May 2020 18:05:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 03F396DE0F72; Sun, 24 May 2020 11:05:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QRA8G8Nua9J8; Sun, 24 May 2020 11:05:45 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 6FFD76DE0BEF; Sun, 24 May 2020 11:05:44 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D65BC6DE0BEF for ; Sun, 24 May 2020 11:05:42 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id euo3M7ACXCH3 for ; Sun, 24 May 2020 11:05:41 -0700 (PDT) X-Greylist: delayed 364 seconds by postgrey-1.36 at arlo; Sun, 24 May 2020 11:05:39 PDT Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by arlo.cworth.org (Postfix) with ESMTPS id 876256DE0191 for ; Sun, 24 May 2020 11:05:39 -0700 (PDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4DE9E1B00193; Sun, 24 May 2020 20:59:31 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1590343171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EyT3YM8rCoEhqb7wdxYkW6lAG6Ty6j1uKDPCrkAXNn4=; b=VKVQAcWU/Je+T8savMwru3h57niQA2JTMddXKVaFnbk61lx9CHorqjYEARQTUUYwRST/vr erFckQza2jh2hEEWf7guxXGi8cYEUuVCga9F+/h6c42ov7wSiXdXS1IrAjVBOxavAWAjL8 mtiL7an/renUsRKNabOJhHvsHPKN3clVNxHX8FYBKC17wNwyMcQfuxc1Ft3UZA0K23DrUF M8BUx5Mpdo6OmGdnQW7+fLNdrxXobHqk6CyUkDmjPoyNEO1037vy0vTMj5DeF2V35fzhU1 lOkC9Bp3i/xRAt4e6HZ86emvfLqQPbaqs35wliyRnkCjLEn5wIoKxaM+t0pqGw== From: Tomi Ollila To: Daniel Kahn Gillmor , Notmuch Mail Subject: Re: [PATCH] tests: fix test_json_nodes() in out-of-tree builds In-Reply-To: <20200522011621.768746-1-dkg@fifthhorseman.net> References: <20200522011621.768746-1-dkg@fifthhorseman.net> User-Agent: Notmuch/0.28.3+84~g41389bb (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1590343171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EyT3YM8rCoEhqb7wdxYkW6lAG6Ty6j1uKDPCrkAXNn4=; b=mL9LeunrNkxBoXuWm05HGPcoPE73lBaIueIci5KuIIdM/CFerVc8mwo9MYEXdAgzuZTByq SrvFRx62xzR6p951BpjaTDNvjrN7o3eQJUViirjuqmF79f5rN/GGwFftqG3CE+K2WOwPgK Spwnq1wy6dhykuTLj/AUrB77OfMS7xalgIdy5K8kkq0a8FICiTk/ibh6eyDLBC2ED3Lgk9 GR5pbibEcCMhkTCOYyp44TzGY7wd35CXDga2WvnUf/yNcMk4Rz5/lE47evu48Vm6o2TncH JghPd8k+BfzsSsEWSHZIILJ+MBR6VNJXmTNx4lZG6VBTNeK1hud41HVk67nt2A== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1590343171; a=rsa-sha256; cv=none; b=RnpKw3PIV9WpivuReZhPTAlRhVR/NSJgZbZy+R62D9QjvKiavItSA7tDV0YdXxjGL5Fjbw X5GzPJMrq9CJQ3IgvpqqSzdAhEVYrFeekLD/URsfwuezLlakVq/cMqg/AmkiRQaU4vEK1b CjNrYfnEa71HkvIQLdY8+dZC23TkAmc8t0LhHuOEg0UPvf60uPNbIJ4Al0y9bPf2tZMfBf hz3+XG9mP8w7kdPJBOPaDInT67IoE/888wvHF7YeGGQL+Pk/C+uZ7NjZCVKtIDPmMdGi6s T9sLJXXbYq9y0jITXgOBIk2Pj0fW/cqmWDtcbeYQteRRG71hOSzqlJeyGLB4vw== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=iki.fi header.s=lahtoruutu header.b=VKVQAcWU; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 1.99 X-TUID: RYFPxclIXe2a On Thu, May 21 2020, Daniel Kahn Gillmor wrote: > In out-of-tree builds, $TEST_DIRECTORY doesn't contain > json_check_nodes.py. This caused 27 tests to fail in such an > environment. are you shure the run_emacs.sh change in id:"20200423212643.864-1-tomi.ollila@iki.fi" is not needed ? =D Tomi > > Signed-off-by: Daniel Kahn Gillmor > --- > test/test-lib.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/test-lib.sh b/test/test-lib.sh > index 58972339..792b1cb9 100644 > --- a/test/test-lib.sh > +++ b/test/test-lib.sh > @@ -556,7 +556,7 @@ test_json_nodes () { > > if ! test_skip "$test_subtest_name" > then > - output=$(PYTHONIOENCODING=utf-8 $NOTMUCH_PYTHON "$TEST_DIRECTORY"/json_check_nodes.py "$@") > + output=$(PYTHONIOENCODING=utf-8 $NOTMUCH_PYTHON "$NOTMUCH_SRCDIR"/test/json_check_nodes.py "$@") > if [ "$?" = 0 ] > then > test_ok_ > -- > 2.26.2 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch