From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EH8OF/7FdmG3MAAAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 16:58:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CLnlEv7FdmGhcQAA1q6Kng (envelope-from ) for ; Mon, 25 Oct 2021 14:58:06 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 BA0E6D10B for ; Mon, 25 Oct 2021 16:58:05 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D6D1C1F4AE; Mon, 25 Oct 2021 10:57:59 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 1BAA01F4AC for ; Mon, 25 Oct 2021 10:57:57 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 791C05FC42; Mon, 25 Oct 2021 10:57:56 -0400 (EDT) Received: (nullmailer pid 3031428 invoked by uid 1000); Mon, 25 Oct 2021 14:57:55 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: WIP: Support testing notmuch as installed Date: Mon, 25 Oct 2021 11:57:50 -0300 Message-Id: <20211025145753.3031094-1-david@tethera.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Message-ID-Hash: GPKAATW7DI5MLXIYJRC7GJFBHVFTRR35 X-Message-ID-Hash: GPKAATW7DI5MLXIYJRC7GJFBHVFTRR35 X-MailFrom: bremner@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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635173885; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=rk5BJJ1HcPmuf2nsVk1B+5FSs3T7tJaLB5+rLbfu7k0=; b=dsbT8XSTq7+JlQ6vACt8edM4jryD4aG1gAgys02PObv+hgnGQiyrJ07yHHIcvIs+T1wxha AHfVbIXJLyN1i6PxVMhyUlxplaN1uLZy12oHeuVJWXCbtOXgqLmfoNudDuep3wq0U5ya05 NdcT4G4X9KMxk4qHphOfyaiolgHYtywKV6mU2q8QT0/RQ3iYG2vqrMPfRjA02CjVsf2lP9 Ftdz9VG8Ord21XimsqFbiS4EUq6El0L2BWVVQMUwePdB4x14Gi3aLvcKiFh9CuGM2eAih0 Mol8Hus5bnICvXCDzycvsQ1c1Rsfm3asm40DBHHWyMcXdgdNz6+Dc12nWvbehA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635173885; a=rsa-sha256; cv=none; b=MVeLHfUDMI7wbbAGnAf/BWS89VPeq3nqvLyO6wgu3a17Rpoe2NbTLp5/VfR6HplsBjzKUG 6gGSOnrnQpm0TaoeCvyeWehyByOxivN7p/PgbMQ5SUJVFoOnTMti4bMiPEDxhjJpztp6Ym A4EtS/kymeWgMGLFW47g7wGZvOq9zxZJ+u+y4zp8WmJ7qk5eud+374Z4zQmZgqNFjfeP0L ozJ6Wtx6VstQVm9DlHS9MplaFHqPxvSu3yx3LrKKwTPbZ/fLx98LotnVyViwuxbb0s5mVl qbKEGsuxtR+UZgzouZuMSP6s0gCRAh2ph3Ms3n3Ago+xPXEzLvyMc+DID92Ldw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.65 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: BA0E6D10B X-Spam-Score: -0.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: CNgPFkv+6ack The goal of the series is to support CI tests like Debian's autopkgtest that test packages as installed (as opposed to in the build tree). Most of the test suite works OK in the setting, although some things need built binaries. One important exception is the python bindings, which are not run yet, and probably should be. This series needs to be applied on top of [1], at least if you want all the test to pass in installed mode. Another issue I'm not completely happy about is that "default.sh" fakes running configure (since we don't have the dependencies to run configure). I am not sure the best approach here. One thing we could do is split the configure script into a subscript in test/configure just for tests. There would probably be some duplication with the main configure script. [1]: id:20211025011515.2533779-1-david@tethera.net