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 1pHpso-0004yj-Px for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Jan 2023 17:36:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pHpsn-00079o-EE for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Jan 2023 17:36:25 +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 1pHpsn-00079e-0j for pgsql-hackers@lists.postgresql.org; Tue, 17 Jan 2023 17:36:25 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pHpsf-0005Y8-Iz for pgsql-hackers@lists.postgresql.org; Tue, 17 Jan 2023 17:36:23 +0000 Received: by mail-io1-xd2c.google.com with SMTP id z194so3405547iof.10 for ; Tue, 17 Jan 2023 09:36:17 -0800 (PST) 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=Qi5ufzYS72xe/Iwcy6z9J5KcQ1At+43A22OyHAZ+1rc=; b=JElLR59WRPD8HJeT/OEcA2jjQzUB7PEpQXqG9UYgXAkWsdswt4YjZ9s2rqpMCYpGNA /WDqbgl8NmDUU1Sw9IfgqJpSWNVS3k2rgUvH1Bgn2s8zhrnZstKsM6D0TnOAYO8sZg38 X2UjFw7RoxF1BKGQH0dFkrBKRIBFKP8jtUOnBUq9DHesMv9xg2owPdpzq63pYU0btTq+ g/+Qv7sbIrCYLaldb7knlBwcx7DkOsmMBKBZXRFQJOlpnHgjjOPvQvDWdfzGhKm/FIc2 Z0a4dmV7f+XZ/fcy6fajFvJbOdZ8UFotJNvMtGeHX+5Wl9ZLeCyKg+bzl0siBHnrD7FZ xcRw== 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=Qi5ufzYS72xe/Iwcy6z9J5KcQ1At+43A22OyHAZ+1rc=; b=M70J6UOZJL6H3oG5f8tKSu7EXYqBHfT0U3+aOWzFNgQa9OjciJlIBZajqSvfR7GqYk e+HCa9kq8LocbRIaIXcrhA/UQ0L7msCqTAjEHOz7b/ZeTheoBNVPFQbNBqPsDwJlLHIH PcHTrET92hbQ6CfOnGOaO4xss/s5Qn4MI0Zq3Gafk4Cux80t0iqi8BOU6nO/hgkNlk4n mB5lCDbU3rGGapI+0JA07P4a4J5Gvm3m8lz28PlKrWuqzsnkVy3MbXQwXrMYWhYdwHFI 8Vf6GSkb1UdOGW9cz8uIFMIDHaGXLiMSX7FokFls9c2briCLgsnkJqWpEzyRKmN3YUSx 4/+w== X-Gm-Message-State: AFqh2kqCp5eK+ovWSuLO9HAzwoEmJ4MdbxKpR+q69AbASYRRJlKP4/dL Ngg/noZE4oiYTki4VmcPP5Ls9Q== X-Google-Smtp-Source: AMrXdXsP6nGOoEl4eYul2ex209PeYgu2FAr0EXKgeQwUanzrMDpu7oS2vz9S4QsMKFMt9aW1szL/5w== X-Received: by 2002:a6b:b4d6:0:b0:6df:df5b:f86 with SMTP id d205-20020a6bb4d6000000b006dfdf5b0f86mr2856547iof.8.1673976976460; Tue, 17 Jan 2023 09:36:16 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id o36-20020a027424000000b0038a13e116a1sm9665931jac.61.2023.01.17.09.35.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 09:35:10 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 781A680074A; Tue, 17 Jan 2023 11:35:09 -0600 (CST) Date: Tue, 17 Jan 2023 11:35:09 -0600 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: <20230117173509.GV9837@telsasoft.com> References: <20220828160752.l5l66k3eptokzhzj@awork3.anarazel.de> <20220828171029.GO2342@telsasoft.com> <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> <20220910200542.GX31833@telsasoft.com> <20221104235412.GE16921@telsasoft.com> <20221105015946.yrxijqb7h4rqhp6d@awork3.anarazel.de> <20221113235303.GA26337@telsasoft.com> <20221121224542.p2zapvyvb7objluw@alap3.anarazel.de> <20221122225744.GF11463@telsasoft.com> <20230104234424.GE3109@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230104234424.GE3109@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 The autoconf system runs all tap tests in t/*.pl, but meson requires enumerating them in ./meson.build. This checks for and finds no missing tests in the current tree: $ for pl in `find src contrib -path '*/t/*.pl'`; do base=${pl##*/}; dir=${pl%/*}; meson=${dir%/*}/meson.build; grep "$base" "$meson" >/dev/null || echo "$base is missing from $meson"; done However, this finds two real problems and one false-positive with missing regress/isolation tests: $ for makefile in `find src contrib -name Makefile`; do for testname in `sed -r '/^(REGRESS|ISOLATION) =/!d; s///; :l; /\\\\$/{s///; N; b l}; s/\n//g' "$makefile"`; do meson=${makefile%/Makefile}/meson.build; grep -Fw "$testname" "$meson" >/dev/null || echo "$testname is missing from $meson"; done; done guc_privs is missing from src/test/modules/unsafe_tests/meson.build oldextversions is missing from contrib/pg_stat_statements/meson.build $(CF_PGP_TESTS) is missing from contrib/pgcrypto/meson.build I also tried but failed to write something to warn if "meson test" was run with a list of tests but without tmp_install. Help wanted. I propose to put something like this into "SanityCheck". -- Justin