Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wzEhL-003tSA-2o for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2026 14:33:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wzEhK-00Dshl-2n for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2026 14:33:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wzEhK-00Dshc-1r for pgsql-hackers@lists.postgresql.org; Wed, 26 Aug 2026 14:33:50 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wzEhI-00000001Nl7-0hA9 for pgsql-hackers@lists.postgresql.org; Wed, 26 Aug 2026 14:33:50 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-482dbc9a00bso1074027f8f.1 for ; Wed, 26 Aug 2026 07:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787754827; x=1788359627; darn=lists.postgresql.org; h=content-transfer-encoding:content-type:subject:from:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=qobwUOY3hHGPA5yq007VGKSWLIuJ4CABsBl1vw8OkSc=; b=MBhRwEXbD7Vuo0k7w048ylwWH06SlK1TL2X/0J4E4p/qFnfZS7mRcYDnvMwD8dEUrv d9L4NlhFTTgLxnmvpmdn7BHLm9nDa4C6stoZ80tz3VrQ0Thpdoe0CPdbX4E4/6yz427L HTzgYRZ+TpMgmvRNbC/JpMv01iiQq7IesOdb5nmOWcgNqbpW5ZPpJUfa/zbdKAFs8Mk/ EoMaYpRoXoNt50e02xfYa3M1pHNwI8jiEvGbeRGcv6OwYIYzlgGo+OfsbbnmgUJUVIYt u+QpNKFoj6P7RB0l6fYjR+KsB2XcjXINqrzw3I3M2AQcc32qdGmlWyhUq/il2qpSdiUM +uxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787754827; x=1788359627; h=content-transfer-encoding:content-type:subject:from:to :content-language:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=qobwUOY3hHGPA5yq007VGKSWLIuJ4CABsBl1vw8OkSc=; b=ihPEUSHzlDDl3CFkgyvGEaNRKQ1IC3RGLwu+bn93UblD+xmenHEHuXu/fXL0JWhETL D5qmkW8yypJuqsGbap+L8vixs7YBB92XX0GBwSt1TZWM1OzLnVmT7tnxHDhwKk9e8xm3 zrkoLEnmuEszm79/LXzKmRoXwVjXWIm2cKB7EvV2GGM2yUVovO3GSO09VWqUfdjblA6i xnTZoy721ujvQh4edf9VXPvPl35zP0jKe7amizPP1eiI+uXiQsrR4zpNCirTbCpzResU c+3GdCf0Y3FT/QtS7g1TvbcqLjyUYSo0Zz+rjKDgQ2NPOXZcQXCIRtxuinpI5eqxCpHs 9AFA== X-Gm-Message-State: AFuF++mVHnnEOsuwjFtwyfV34UxGByrZQvKcksiB9Sl4IRUeco+rnPAI SbdYI6VysqD+T1TiDWzXVaTNVOjPuioxzH8G9MRgo0Q4O34Y/ae7hpchxXf+Tg== X-Gm-Gg: AR+sD13Mh+cEOB/HlV3g5pvKGMRaFcBvZCiX45DhAINXuAz1NXpoegOJnmZcZKMu/ER i28mj4y6GImAavUyNP8mpV87Bj+TxrIjOn7ehR6Lm3EBX7sdsUYiKHUS2iLFqIZcWHb0hSjWSTd a8gEY/zA5kcRgPu/rLSQo7yprKRDB5Y+Urx4VHtRmWWqQ6Otsxlk4Q505VoPRgd71T6mYJpGj0g bKpJmykT/oM8wWrID0q0UQJCD7wQUZ0NFgkL4OopgmtbwB/CAegl0OQcZLjVTKGnoJYAKkTFCb2 gwXsdNjTcUx4oJfMrn+G7G21vPyVJxz+rtm0QIHwpLsRYs/3HBzqDbQDpngeqZG5/OJwOY/3DAH oFUDe4zIu1CcG8Dj/t9VhiGzEW4dZwc6P0R6+7cR2jAazp9NCmoLxCNOwno9Gj+bvYkA8xjWCAS fNK4T+7P2toKCXpMEuxbm1ovwxQmddWWEiQQ2Q19nrB8sq4P8BJyu4HUqe4LaOOXl7VTfcKJC0J 0JuBahK+LsT1LjfkXdatfLvId4hCeHeUPv40ps= X-Received: by 2002:a05:6000:41cb:b0:481:5dea:c014 with SMTP id ffacd0b85a97d-482d9981315mr16393728f8f.14.1787754826972; Wed, 26 Aug 2026 07:33:46 -0700 (PDT) Received: from ?IPV6:2a01:e0a:bf8:b480:de5b:5d19:6af:75ef? ([2a01:e0a:bf8:b480:de5b:5d19:6af:75ef]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-482e279ec3esm3019208f8f.3.2026.08.26.07.33.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Aug 2026 07:33:46 -0700 (PDT) Message-ID: <28b67c58-bb49-42cd-9014-d4ef2601f946@gmail.com> Date: Wed, 26 Aug 2026 16:33:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: pgsql-hackers@lists.postgresql.org From: Pierre Forstmann Subject: how to run the equivalent of 'make install check-world' with meson Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, I'm tring to run the equivalent of "make installcheck-world" with meson. According to https://wiki.postgresql.org/wiki/Meson?utm_source=chatgpt.com: I have tried: meson test -C build -q --print-errorlogs --setup running But these tests fails because it looks like that test extensions are not installed: #  step s1exec: LOAD 'delay_execution'; #            SET delay_execution.post_planning_lock_id = 12345; # -          SELECT * FROM foo WHERE a <> 1 AND a <> (SELECT 3); # +          SELECT * FROM foo WHERE a <> 1 AND a <> (SELECT 3); # +ERROR:  could not access file "delay_execution": No such file or directory  -- Tests for relation options #  CREATE EXTENSION dummy_index_am; # +ERROR:  extension "dummy_index_am" is not available # +HINT:  The extension must first be installed on the system where PostgreSQL is running. CREATE EXTENSION dummy_seclabel; # +ERROR:  extension "dummy_seclabel" is not available # +HINT:  The extension must first be installed on the system where PostgreSQL is running. Here is the full script that I'm using : export PGDATA=/var/lib/pgsql/data export TARGET=/var/lib/pgsql/local set -x # rm -rf build make distclean meson setup build --prefix=$TARGET --buildtype=debug -Dcassert=true -Duuid=e2fs -Dssl=openssl -Dtap_tests=enabled -Dliburing=enabled cd build ninja # rm -rf $TARGET mkdir $TARGET # ninja install # export PATH=$TARGET/bin:$PATH # pg_ctl stop rm -rf $PGDATA initdb # echo "logging_collector = on" > $PGDATA/mypg.conf echo "log_directory = 'log'" >> $PGDATA/mypg.conf echo "log_filename = 'pg.log'" >> $PGDATA/mypg.conf echo "include = 'mypg.conf'" >> $PGDATA/postgresql.conf # pg_ctl -D $PGDATA -l logfile start # cd .. meson test -C build -q --print-errorlogs --setup running Regards, PF