Changeset 0f4ac10 for tests


Ignore:
Timestamp:
Jun 19, 2023, 3:54:33 PM (11 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
2fd4cea
Parents:
33d4bc8
Message:

Add tests demonstrating CFA's treatment of C arrays, compared with GCC's.

These tests recognize two levels of CFA functionality: Classic and Preview. This commit shows that CFA Master implements Classic. Preview refers to Mike's forthcoming changes.

Only the CFA part runs in the nightly build. Under CFA Classic, a limitation is that only some rejection cases are exercised in the nightly build. A hand-driven testing script can access all the cases and CFA Preview will exercise all the cases in the nightly build.

test dimexpr-match-c: how CFA's treatment of C arrays compares with GCC's

test dimexpr-match-cfa: how CFA's treamtment of <containers/array.hfa>-arrays aligns with the above

Location:
tests
Files:
12 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r33d4bc8 r0f4ac10  
    225225        -cp ${test} ${abspath ${@}}
    226226
     227array-container/dimexpr-match-c-ERRS : array-container/dimexpr-match-c.cfa
     228        ${CFACOMPILE_SYNTAX} -DERRS
     229        -cp ${test} ${abspath ${@}}
     230
     231array-container/dimexpr-match-cfa-ERRS : array-container/dimexpr-match-cfa.cfa
     232        ${CFACOMPILE_SYNTAX} -DERRS
     233        -cp ${test} ${abspath ${@}}
     234
    227235alloc-ERROR : alloc.cfa ${CFACCBIN}
    228236        ${CFACOMPILE_SYNTAX} -DERR1
Note: See TracChangeset for help on using the changeset viewer.