source: src/Tests/ResolvExpr/make-rules @ 451665cc

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 451665cc was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

licencing: seventh groups of files

  • Property mode set to 100644
File size: 493 bytes
RevLine 
[51b7345]1CFA = ../../cfa-cpp
2
3DIFF = /software/gnu/bin/diff
4
5# Basic SynTree printing
6EXPECTED := ${wildcard $(EXPECTDIR)/*.tst}
7TESTS := $(EXPECTED:$(EXPECTDIR)/%=$(OUTPUTDIR)/%)
8TEST_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 -u $(EXPECTDIR)/`basename $$i` $$i | tee -a $@; \
18        done
19
20clean:
21        rm -rf $(OUTPUTDIR)
Note: See TracBrowser for help on using the repository browser.