URL:
  <https://savannah.gnu.org/support/?110982>

                 Summary: Autotest: add some way to declare an expected
failure halfway through the test 
                   Group: Autoconf
               Submitter: zackw
               Submitted: Tue 19 Dec 2023 06:26:52 PM UTC
                Priority: 5 - Unprioritized
                Severity: 1 - Wish
                  Status: Confirmed
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 19 Dec 2023 06:26:52 PM UTC By: Zack Weinberg <zackw>
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.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110982>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to