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 334163c was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago |
licencing: seventh groups of files
|
-
Property mode
set to
100644
|
File size:
494 bytes
|
Rev | Line | |
---|
[51b73452] | 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.