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 <carenas@xxxxxxxxx> --- 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