From: Carlo Marcelo Arenas Belón Date: Thu, 28 Oct 2021 20:56:47 GMT Subject: [PATCH 1/3] test-lib: add prerequisite for 64-bit platforms Message-ID: <20211028205649.84036-2-carenas@gmail.com> In-Reply-To: <20211028205649.84036-1-carenas@gmail.com> Allow tests that assume a 64-bit size_t to be skipped in 32-bit platforms and regardless of the size of long. Signed-off-by: Carlo Marcelo Arenas Belón --- t/test-lib.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/test-lib.sh b/t/test-lib.sh index fc1e521519..5fa7fb5719 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1687,6 +1687,10 @@ build_option () { sed -ne "s/^$1: //p" } +test_lazy_prereq IS_64BIT ' + test 8 -eq "$(build_option sizeof-size_t)" +' + test_lazy_prereq LONG_IS_64BIT ' test 8 -le "$(build_option sizeof-long)" ' -- 2.33.0.1155.gbdb71ac078