Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1or6Vz-0006co-Tc for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Nov 2022 23:54:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1or6Vx-0000RS-GD for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Nov 2022 23:54:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1or6Vw-0000RJ-AC for pgsql-hackers@lists.postgresql.org; Fri, 04 Nov 2022 23:54:21 +0000 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1or6Vr-0006BX-K6 for pgsql-hackers@lists.postgresql.org; Fri, 04 Nov 2022 23:54:18 +0000 Received: by mail-qk1-x72b.google.com with SMTP id z30so4126447qkz.13 for ; Fri, 04 Nov 2022 16:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=juTN34o9KNWJei99xGXoWQl45lMs6QTIjfZgKSh+Q+0=; b=0tyYrB4yX2DYugK1naJuTrTUUVc5SDrIVnNxAUX2/fdbtYEyH42++tzOPGVBCMgdU6 RLcX11TxXohwt5Y+Kaw2s5+BwzRv10MgZb7oXMMpqWETfoO80tTBEHeNpgjTEBdRTnN6 T6GF7Crl50UihXmK4DNOP8jH2KZW6uDZxV2obLsYeIAZM40F+sRkLqFRhAgq3T1jGuGB ezVaIPCzBYMDbCNIGcQqs/vxVHFxU4qM87ZuzlRdAIcX3g33kM5Bn91HK9du0sZLSl5Z 3Hn7GtFBYxBEjTkCscVOmD4J1yOb3zdEGetTbvVHuyR94q4Nh5GxGAPHQXgRj8G5H3zW yVow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=juTN34o9KNWJei99xGXoWQl45lMs6QTIjfZgKSh+Q+0=; b=4B4kbz+fTCMOy4QGzvfvI8dQ7b2vTD4cmgruyovaMc2HnuvTZE0ur22kO8Qg4DjOYy 0LwVvIgUW66Rc+hk2paXDoG46zcN1hs87egFXMo8W7chCQah/uAYprsVpTB5bLRKgHfc hWaoBXrBjHNOabQToU3XCUpTV/QfVmZ5qxxUwRSY1FZRx7hhnM/8Tu35xclK3TJV388R AxKWUEGmsIDijCTD7FzgyPOQVXPdhugXBE6SkbhiaUDiXf1+LozftjVSZ0Dl6qyESHd7 m2E8SbzaXQXQCScjmz3//MGgVZj4JYHqEvDP3ODLmB9+5DyWDj9WviQBFQ2UIEx72ML6 s4qw== X-Gm-Message-State: ACrzQf3KqNp0Z3bXBGIiL327/RpwEElWWRSpqbXQw9CDl6RO+tP2UJWN pdL3h+Ns3y8IQaxy1flgM/d3KQ== X-Google-Smtp-Source: AMsMyM4hVkpal2PzfEzoFCm6uHAjrynOKHhkNaYzvXy8GuO28R/JmLV6aLLnMzu6tvc+6po+IhCzyg== X-Received: by 2002:a05:620a:6086:b0:6fa:567b:5c0f with SMTP id dx6-20020a05620a608600b006fa567b5c0fmr14016776qkb.192.1667606054359; Fri, 04 Nov 2022 16:54:14 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id g10-20020a05620a40ca00b006f3e6933bacsm455410qko.113.2022.11.04.16.54.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2022 16:54:13 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 515378009D6; Fri, 4 Nov 2022 18:54:12 -0500 (CDT) Date: Fri, 4 Nov 2022 18:54:12 -0500 From: Justin Pryzby To: Andres Freund Cc: Andrew Dunstan , Thomas Munro , pgsql-hackers@lists.postgresql.org, Noah Misch , Michael Paquier , Anastasia Lubennikova , Tom Lane , Robert Haas , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson , samay sharma Subject: Re: CI and test improvements Message-ID: <20221104235412.GE16921@telsasoft.com> References: <20220708002232.GF13040@telsasoft.com> <20220623193125.GB22452@telsasoft.com> <20220528153741.GK19626@telsasoft.com> <20220828144447.GA21897@telsasoft.com> <20220828160752.l5l66k3eptokzhzj@awork3.anarazel.de> <20220828171029.GO2342@telsasoft.com> <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> <20220910200542.GX31833@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="rPFbv4B2w2tcwGo5" Content-Disposition: inline In-Reply-To: <20220910200542.GX31833@telsasoft.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --rPFbv4B2w2tcwGo5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Sep 10, 2022 at 03:05:42PM -0500, Justin Pryzby wrote: > On Sun, Aug 28, 2022 at 02:28:02PM -0700, Andres Freund wrote: > > On 2022-08-28 12:10:29 -0500, Justin Pryzby wrote: > > > On Sun, Aug 28, 2022 at 09:07:52AM -0700, Andres Freund wrote: > > > > > --- /dev/null > > > > > +++ b/src/tools/ci/windows-compiler-warnings > > > > > > > > Wouldn't that be doable as something like > > > > sh -c 'if test -s file; then cat file;exit 1; fi" > > > > inside .cirrus.yml? > > > > > > I had written it inline in a couple ways, like > > > - sh -exc 'f=msbuild.warn.log; if [ -s "$f" ]; then cat "$f"; exit 1; else exit 0; fi' > > > > > > but then separated it out as you suggested in > > > 20220227010908.vz2a7dmfzgwg742w@alap3.anarazel.de > > > > > > after I complained about cmd.exe requiring escaping for && and || > > > That makes writing any shell script a bit perilous and a separate script > > > seems better. > > > > I remember that I suggested it - but note that the way I wrote above doesn't > > have anything needing escaping. > > It doesn't require it, but that still gives the impression that it's > normally possible to write one-liner shell scripts there, which is > misleading/wrong, and the reason why I took your suggestion to use a > separate script file. > > > Anyway, what do you think of the multiline split I suggested? > > Done, and sorted. Rewrote this and rebased some of the other stuff on top of the meson commit, for which I also include some new patches. --rPFbv4B2w2tcwGo5 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-meson-PROVE-is-not-required.patch"