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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    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.16-11ef.
    Corresponding source code