Ignore:
Timestamp:
Jul 13, 2021, 9:30:55 AM (3 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
12a1013, 801978b
Parents:
9345684 (diff), 6f27b67 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/code/test.sh

    r9345684 r37c6f77  
    3838        done
    3939        exit 0
     40elif [ 2 -eq "$#" ]; then
     41    TEST_LANG="$1"
     42    TEST_CASE="$2"
     43else
     44    echo "Unknown call pattern." >&2
     45    exit 2
    4046fi
    4147
     
    4652}
    4753
    48 case "$2" in
     54case "$TEST_CASE" in
    4955cond-match-all)
    5056        CFAT="./cond-catch $ITERATIONS 1"
     
    96102        ;;
    97103*)
    98         echo "No such test." >&2
     104        echo "No such test: $TEST_CASE" >&2
    99105        exit 2
    100106        ;;
    101107esac
    102108
    103 case "$1" in
     109case "$TEST_LANG" in
    104110cfa-t) echo $CFAT; $CFAT;;
    105111cfa-r) echo $CFAR; $CFAR;;
    106112cpp) echo $CPP; $CPP;;
    107113java) echo $JAVA; $JAVA;;
     114*)
     115        echo "No such language: $TEST_LANG" >&2
     116        exit 2
    108117esac
Note: See TracChangeset for help on using the changeset viewer.