Massive test failures

Torbjörn Granlund tg at gmplib.org
Mon Mar 23 23:04:26 CET 2026


As you can see from https://gmplib.org/devel/tm/gmp/date the GMP
autobuilds fail for lots of systems, but passes for others.

Sample failure:

    make[5]: Entering directory '/var/tmp/gmp-obj/bwl-stat-64/tests'
    PASS: t-bswap
    PASS: t-constants
    PASS: t-count_zeros
    PASS: t-hightomask
    PASS: t-modlinv
    PASS: t-popc
    PASS: t-parity
    PASS: t-sub
    /bin/sh: line 12: test: +: integer expected
    ============================================================================
    Testsuite summary for GNU MP 6.3.0
    ============================================================================
    /bin/sh: line 29: test: -gt: unary operator expected
    # TOTAL: 
    /bin/sh: line 29: test: -gt: unary operator expected
    # PASS:  
    /bin/sh: line 29: test: -gt: unary operator expected

So, what is on line 12 and 29 then?  Glad you asked.  But I have no clue
as the script name is not printed.  The autohell Makefiles are totally
unreadable, so trying to figure out what script is run is very far from
straightforward straightforward.

If anybody here has any idea, please let me know here!


These failures seem to have commenced on the 15th of March.  That date,
I committed a small change to the shell script which runs these tests:

    *** .~/testclient.sh.~812~	Tue Mar  3 16:55:53 2026
    --- testclient.sh	Sun Mar 15 13:44:55 2026
    ***************
    *** 9,14 ****
    --- 9,15 ----
      MAXTUNETIME=3600
      SUPPRESS_tune=false
      SUPPRESS_try=false
    + SUPPRESS_try=true		# FIXME: CALLING_CONVENTIONS incompatible with modern C
      SUPPRESS_demos=false
      TUNEPROGS=allprogs
      EXEEXT=

That change can hardly be related.  (That change was needed to suppress
build failures for the dev program tests/devel/try.c after a compiler
upgrade.  I.e., unrelated to the new check failures.)


-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list