mainAutoconf - Support: sr #110982, Autotest: add some way to declare...


sr #110982: Autotest: add some way to declare an expected failure halfway through the test

Submitter:  Zack Weinberg <zackw>
Submitted:  Tue 19 Dec 2023 06:26:52 PM UTC
Priority:  * 3 - Release N+1 Severity:  1 - Wish
Status:  Confirmed Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 19 Dec 2023 06:26:52 PM UTC, original submission:  

Shell code in the argument of AT_XFAIL_IF is always executed at the very beginning of the test group, and, in fact, outside the subshell for the body of the test group.  This is not documented.

Some of Autoconf's tests can only know for certain that the test is going to fail due to a known bug, after doing several other operations that are properly AT_CHECKed.  (Those operations are not affected by the known bug.)  There should be a macro like AT_XFAIL_IF, but whose shell code is executed at the point it appears in the test group.  Also, the documentation should explain which AT_* macros' shell code gets hoisted to the beginning of the test group.

Zack Weinberg <zackw>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by zackw (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-19 zackw Priority5 - Unprioritized 3 - Release N+1

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code