Changeset 090b076 for tests


Ignore:
Timestamp:
Feb 5, 2025, 1:00:57 PM (8 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
92aeae1
Parents:
332e93a
Message:

Expand and update comments re testing instrucions

Location:
tests/array-collections
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/array-collections/dimexpr-match-detail.sh

    r332e93a r090b076  
    22# This script helps you run the dimexpr-match test manually, in a more thorough fashion.
    33# test.py runs do not use this script.
     4
     5# When a test.py run shows that an output has changed, use this script for verification, before running --regenerate-expected.
     6# Particularly with -ERRS, we don't actually care what the error message is (likely source of noise requiring --regenerate-expected), just that all the should-reject cases are rejected (which this script shows).
     7
     8# Success means the script does not print "TEST FAILURE."
     9# Expect one large output with a mix of "done" and "skip" messages.  That is the acceptance cases.
     10# Then expect many small outputs all showing rc=1.  These are the rejection cases.
    411
    512# The thoroughness that this script affords is
     
    815#   - observing the behaviour of a compiler other than the CFACC version in whose folder the test occurs; for example, GCC
    916
    10 # usage (one of)
    11 #   ./dimexpr-match-detail.sh '/u0/mlbrooks/cfa2/build-straw3/driver/cfa -DCFA_PREVIEW_FUNCTIONALITY'
     17# usage examples
     18#   ./dimexpr-match-detail.sh cfa
     19#   ./dimexpr-match-detail.sh      # same as above
    1220#   ./dimexpr-match-detail.sh ~/cfa6/build/driver/cfa
     21#   ./dimexpr-match-detail.sh "$cfa -m32 -nodebug"
    1322#   ./dimexpr-match-detail.sh 'gcc -x c'
    14 
    1523
    1624
  • TabularUnified tests/array-collections/dimexpr-match.hfa

    r332e93a r090b076  
    22
    33//  Framework for the dimexpr-match tests.
     4//
     5//  For general test-suite maintenance instrutions, see *-detail.sh.
    46//
    57//  These tests show whether an expression of type like `float (*)[25]`
     
    181183    - reject STA/non-STA crossing
    182184
    183 CFA rules ("preview" only)
     185CFA rules
    184186    - accept a pair from group STA if it has the same value
    185187    - accept a pair from group DYN if it is written out the same (e.g. refers to same variable)
Note: See TracChangeset for help on using the changeset viewer.