Changeset 80e8582


Ignore:
Timestamp:
Jan 10, 2018, 1:21:51 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
721cd19f
Parents:
eb0aedb
Message:

Move constructor/destructor tests to raii subdirectory

Location:
src/tests
Files:
4 added
4 deleted
2 edited
12 moved

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    reb0aedb r80e8582  
    7777        ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} -o ${@}
    7878
    79 dtor-early-exit-ERR1: dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    80         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    81 
    82 dtor-early-exit-ERR2: dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    83         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
    84 
    8579declarationSpecifier: declarationSpecifier.c @CFA_BINDIR@/@CFA_NAME@
    8680        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     
    110104        ${CC} ${AM_CFLAGS} ${CFLAGS} -lgmp ${<} -o ${@}
    111105
    112 memberCtors-ERR1: memberCtors.c @CFA_BINDIR@/@CFA_NAME@
    113         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    114 
    115 ctor-autogen-ERR1: ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@
    116         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    117 
    118106completeTypeError : completeTypeError.c @CFA_BINDIR@/@CFA_NAME@
    119107        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     
    124112alloc-ERROR: alloc.c @CFA_BINDIR@/@CFA_NAME@
    125113        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     114
     115# Constructor/destructor tests
     116raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
     117        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     118
     119raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
     120        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
     121
     122raii/memberCtors-ERR1: raii/memberCtors.c @CFA_BINDIR@/@CFA_NAME@
     123        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     124
     125raii/ctor-autogen-ERR1: raii/ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@
     126        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     127
  • src/tests/Makefile.in

    reb0aedb r80e8582  
    827827        ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} -o ${@}
    828828
    829 dtor-early-exit-ERR1: dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    830         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    831 
    832 dtor-early-exit-ERR2: dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    833         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
    834 
    835829declarationSpecifier: declarationSpecifier.c @CFA_BINDIR@/@CFA_NAME@
    836830        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     
    860854        ${CC} ${AM_CFLAGS} ${CFLAGS} -lgmp ${<} -o ${@}
    861855
    862 memberCtors-ERR1: memberCtors.c @CFA_BINDIR@/@CFA_NAME@
    863         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    864 
    865 ctor-autogen-ERR1: ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@
    866         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    867 
    868856completeTypeError : completeTypeError.c @CFA_BINDIR@/@CFA_NAME@
    869857        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     
    873861
    874862alloc-ERROR: alloc.c @CFA_BINDIR@/@CFA_NAME@
     863        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     864
     865# Constructor/destructor tests
     866raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
     867        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     868
     869raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
     870        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
     871
     872raii/memberCtors-ERR1: raii/memberCtors.c @CFA_BINDIR@/@CFA_NAME@
     873        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     874
     875raii/ctor-autogen-ERR1: raii/ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@
    875876        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
    876877
  • src/tests/raii/.expect/ctor-autogen-ERR1.txt

    reb0aedb r80e8582  
    1 ctor-autogen.c:102:1 error: No reasonable alternatives for expression Applying untyped:
     1raii/ctor-autogen.c:102:1 error: No reasonable alternatives for expression Applying untyped:
    22  Name: ?{}
    33...to:
Note: See TracChangeset for help on using the changeset viewer.