Diff for /parser3/tests/Makefile between versions 1.1.2.1 and 1.6

version 1.1.2.1, 2003/02/26 10:17:33 version 1.6, 2016/08/03 16:36:16
Line 1 Line 1
 ifdef COMSPEC  ifdef COMSPEC
         PARSER=../src/targets/cgi/debug/parser3.exe          PARSER_DIR=../src/targets/cgi/release
           PARSER_EXECUTABLE=$(PARSER_DIR)/parser3.exe
 else  else
         PARSER=../src/targets/cgi/parser3          PARSER_DIR=../src/targets/cgi
           PARSER_EXECUTABLE=$(PARSER_DIR)/parser3
 endif  endif
   PARSER_CONFIG=results/auto.p
   
 PAFLAGS=-H  RUN_PARSER=./run_parser.sh
   DIFF=diff -b
 #  
   
 DIFF=diff  
 ECHO=echo  
 RM=rm  RM=rm
   
 #  #
   
 OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))  COMMON=$(sort $(wildcard ???.html))
 RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))  OUTPUTS_COMMON=$(patsubst %.html,outputs/%.processed,$(COMMON))
   RESULTS_COMMON=$(patsubst %.html,results/%.processed,$(COMMON))
   
   CURL=$(sort $(wildcard *-curl.html))
   OUTPUTS_CURL=$(patsubst %.html,outputs/%.processed,$(CURL))
   RESULTS_CURL=$(patsubst %.html,results/%.processed,$(CURL))
   
   SQL=$(sort $(wildcard *-sql.html))
   OUTPUTS_SQL=$(patsubst %.html,outputs/%.processed,$(SQL))
   RESULTS_SQL=$(patsubst %.html,results/%.processed,$(SQL))
   
 outputs/%.processed: %.html Makefile $(PARSER)  outputs/%.processed: %.html
         $(PARSER) $(PAFLAGS) $< > $@          $(RUN_PARSER) $(PARSER_EXECUTABLE) $< $(PARSER_CONFIG) > $@
   
 .PHONY: FORCE all clean  .PHONY: FORCE tests
   
 results/%.processed: outputs/%.processed FORCE  results/%.processed: outputs/%.processed FORCE
         @$(DIFF) $< $@          -$(DIFF) $@ $<
   
 all: tests  tests: $(OUTPUTS_COMMON) $(RESULTS_COMMON)
   
 tests: outputs compares  tests-curl: $(OUTPUTS_CURL) $(RESULTS_CURL)
   
 outputs: $(OUTPUTS)  tests-sql: $(OUTPUTS_SQL) $(RESULTS_SQL)
   
 compares: $(RESULTS)  all: tests tests-curl
         @$(ECHO) All tests passed OK  
   
 clean:  clean:
         $(RM) -f outputs/*.processed          $(RM) -f outputs/*.processed

Removed from v.1.1.2.1  
changed lines
  Added in v.1.6


E-mail: