Diff for /parser3/tests/Makefile between versions 1.1.2.3 and 1.5

version 1.1.2.3, 2003/03/03 15:30:06 version 1.5, 2015/05/27 13:24:35
Line 1 Line 1
 ifdef COMSPEC  ifdef COMSPEC
         PARSER_EXECUTABLE=../src/targets/cgi/debug/parser3.exe          PARSER_DIR=../src/targets/cgi/release
           PARSER_EXECUTABLE=$(PARSER_DIR)/parser3.exe
 else  else
         PARSER_EXECUTABLE=../src/targets/cgi/parser3          PARSER_DIR=../src/targets/cgi
           PARSER_EXECUTABLE=$(PARSER_DIR)/parser3
 endif  endif
   PARSER_CONFIG=results/auto.p
   
 RUN_PARSER=./run_parser.sh  RUN_PARSER=./run_parser.sh
 DIFF=diff  DIFF=diff -b
 ECHO=echo  
 RM=rm  RM=rm
   
 #  #
   
 OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))  OUTPUTS=$(patsubst %.html,outputs/%.processed,$(sort $(wildcard *.html)))
 RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))  RESULTS=$(patsubst %.html,results/%.processed,$(sort $(wildcard *.html)))
   
 outputs/%.processed: %.html Makefile $(RUN_PARSER) $(PARSER_EXECUTABLE)  outputs/%.processed: %.html
         $(RUN_PARSER) $(PARSER_EXECUTABLE) $< > $@          $(RUN_PARSER) $(PARSER_EXECUTABLE) $< $(PARSER_CONFIG) > $@
   
 .PHONY: FORCE all clean  .PHONY: FORCE all tests clean install install-exec install-data
   
 results/%.processed: outputs/%.processed FORCE  results/%.processed: outputs/%.processed FORCE
         @$(DIFF) $< $@          -$(DIFF) $< $@
   
 all: tests  
   
 tests: outputs compares  tests: outputs compares
   
 outputs: $(OUTPUTS)  outputs: $(OUTPUTS)
   
 compares: $(RESULTS)  compares: $(RESULTS)
         @$(ECHO) All tests passed OK  
   
 clean:  clean:
         $(RM) -f outputs/*.processed          $(RM) -f outputs/*.processed
   
   install:
   install-exec:
   install-data:

Removed from v.1.1.2.3  
changed lines
  Added in v.1.5


E-mail: