ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since bfbf97f was
5f2f2d7,
checked in by Peter A. Buhr <pabuhr@…>, 9 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
|
Line | |
---|
1 | CFA = ../../cfa-cpp |
---|
2 | |
---|
3 | EXPECTED := ${wildcard ${EXPECTDIR}/*.tst} |
---|
4 | TESTS := ${EXPECTED:${EXPECTDIR}/%=${OUTPUTDIR}/%} |
---|
5 | TEST_IN := ${TESTS:.tst=.c} |
---|
6 | |
---|
7 | .SILENT : |
---|
8 | |
---|
9 | ${OUTPUTDIR}/%.tst : %.c ${CFA} |
---|
10 | -${CFA} ${CFAOPT} < $< > $@ 2>&1 |
---|
11 | |
---|
12 | ${OUTPUTDIR}/report : ${TESTS} ${EXPECTED} |
---|
13 | rm -f $@ |
---|
14 | @for i in ${TESTS}; do \ |
---|
15 | echo "---"`basename $$i`"---" | tee -a $@; \ |
---|
16 | diff -B -w ${EXPECTDIR}/`basename $$i` $$i | tee -a $@; \ |
---|
17 | done |
---|
18 | |
---|
19 | clean : |
---|
20 | rm -rf ${OUTPUTDIR} |
---|
Note: See
TracBrowser
for help on using the repository browser.