source: src/Tests/SynTree/make-rules@ 5f2f2d7

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since 5f2f2d7 was 5f2f2d7, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

fix constant types, remove unnecessary string copying, work on regression testing, fix several memory leaks

  • Property mode set to 100644
File size: 452 bytes
RevLine 
[51b73452]1CFA = ../../cfa-cpp
2
[5f2f2d7]3EXPECTED := ${wildcard ${EXPECTDIR}/*.tst}
4TESTS := ${EXPECTED:${EXPECTDIR}/%=${OUTPUTDIR}/%}
5TEST_IN := ${TESTS:.tst=.c}
[51b73452]6
[5f2f2d7]7.SILENT :
[51b73452]8
[5f2f2d7]9${OUTPUTDIR}/%.tst : %.c ${CFA}
10 -${CFA} ${CFAOPT} < $< > $@ 2>&1
[51b73452]11
[5f2f2d7]12${OUTPUTDIR}/report : ${TESTS} ${EXPECTED}
[51b73452]13 rm -f $@
[5f2f2d7]14 @for i in ${TESTS}; do \
[a61fea9a]15 echo "---"`basename $$i`"---" | tee -a $@; \
[5f2f2d7]16 diff -B -w ${EXPECTDIR}/`basename $$i` $$i | tee -a $@; \
[51b73452]17 done
18
[44b5ca0]19clean :
[5f2f2d7]20 rm -rf ${OUTPUTDIR}
Note: See TracBrowser for help on using the repository browser.