Changeset 64f3b9f for tests


Ignore:
Timestamp:
Dec 11, 2024, 6:09:10 PM (7 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
e797179
Parents:
ec22220
Message:

Fix support for partial autogen.

Partial autogen means that some lifecycle functions are possible to generate, and needed, while others are impossible to generate, but unneeded. It is a valid situation that a user can implicitly request.

Previous handling of "impossible to generate" left the function in a zombie state, where it could show up as an alternative later. This zombie state is problematic handling caused by a compiler bug. Without the fix, the added test fails by creating zombie states.

This change is also a prerequsite for an upcoming change to avoid gcc warnings by not emitting autogen forward declarations.

Location:
tests
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    rec22220 r64f3b9f  
    272272        -cp ${test} ${abspath ${@}}
    273273
     274raii/partial-ERR1 : raii/partial.cfa ${CFACCBIN}
     275        ${CFACOMPILE_SYNTAX} -DERR1
     276        -cp ${test} ${abspath ${@}}
     277
    274278# Exception Tests
    275279# Test with libcfathread; it changes how storage works.
Note: See TracChangeset for help on using the changeset viewer.