File:  [parser3project] / parser3 / www / htdocs / tests / Attic / Makefile
Revision 1.1.2.3: download - view: text, annotated - select for diffs - revision graph
Fri Feb 21 15:44:46 2003 UTC (23 years, 7 months ago) by paf
first 5 tests ready

ifdef COMSPEC
	PARSER=../../../src/targets/cgi/debug/parser3.exe
else
	PARSER=../../../src/targets/cgi/parser3
endif

PAFLAGS=-H

#

DIFF=diff
ECHO=echo

#

OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))
RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))

outputs/%.processed: %.html Makefile $(PARSER)
	$(PARSER) $(PAFLAGS) $< > $@

.PHONY: FORCE

results/%.processed: outputs/%.processed FORCE
	@$(DIFF) $< $@

tests: outputs compares

outputs: $(OUTPUTS)

compares: $(RESULTS)
	@$(ECHO) All tests passed OK

E-mail: