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 51b7345 was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
494 bytes
|
Rev | Line | |
---|
[51b7345] | 1 | CFA = ../../cfa-cpp |
---|
| 2 | |
---|
| 3 | DIFF = diff#/software/gnu/bin/diff |
---|
| 4 | |
---|
| 5 | # Basic SynTree printing |
---|
| 6 | EXPECTED := ${wildcard $(EXPECTDIR)/*.tst} |
---|
| 7 | TESTS := $(EXPECTED:$(EXPECTDIR)/%=$(OUTPUTDIR)/%) |
---|
| 8 | TEST_IN := $(TESTS:.tst=.c) |
---|
| 9 | |
---|
| 10 | $(OUTPUTDIR)/%.tst:%.c $(CFA) |
---|
| 11 | $(CFA) $(CFAOPT) < $< > $@ 2>&1 |
---|
| 12 | |
---|
| 13 | $(OUTPUTDIR)/report: $(TESTS) $(EXPECTED) |
---|
| 14 | rm -f $@ |
---|
| 15 | @for i in $(TESTS); do \ |
---|
| 16 | echo "---"`basename $$i`"---" | tee -a $@; \ |
---|
| 17 | $(DIFF) -B -w $(EXPECTDIR)/`basename $$i` $$i | tee -a $@; \ |
---|
| 18 | done |
---|
| 19 | |
---|
| 20 | clean: |
---|
| 21 | rm -rf $(OUTPUTDIR) |
---|
Note: See
TracBrowser
for help on using the repository browser.