Changeset 7895d46 for src/tests


Ignore:
Timestamp:
Mar 23, 2017, 11:23:43 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
27cc24e
Parents:
0583064b
Message:

Tests now start faster

Location:
src/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    r0583064b r7895d46  
    5151        @+python test.py --list --concurrent=${concurrent}
    5252
     53.dummy : .dummy.c
     54        ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
     55
    5356constant0-1DP : constant0-1.c
    5457        ${CC} ${CFLAGS} -DDUPS ${<} -o ${@}
  • src/tests/Makefile.in

    r0583064b r7895d46  
    669669        @+python test.py --list --concurrent=${concurrent}
    670670
     671.dummy : .dummy.c
     672        ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
     673
    671674constant0-1DP : constant0-1.c
    672675        ${CC} ${CFLAGS} -DDUPS ${<} -o ${@}
  • src/tests/test.py

    r0583064b r7895d46  
    2525# parses the Makefile to find the machine type (32-bit / 64-bit)
    2626def getMachineType():
    27         sh('echo "int main() { return 0; }" > .dummy.c')
     27        sh('echo "void ?{}(int*a,int b){}int main(){return 0;}" > .dummy.c')
    2828        sh("make .dummy", print2stdout=False)
    2929        _, out = sh("file .dummy", print2stdout=False)
Note: See TracChangeset for help on using the changeset viewer.