Index: Makefile =================================================================== --- Makefile (revision 30377) +++ Makefile (revision 30378) @@ -4,8 +4,11 @@ TDIR=../tests/query PCBRND=./pcb-rnd -all: action.diff getconf.diff +TESTS = \ + action.diff getconf.diff getconf2.diff +all: $(TESTS) + action.diff: action.out @diff -u action.out action.ref && rm action.out @@ -18,5 +21,11 @@ getconf.out: FORCE @cd $(SRC) && echo 'query(eval, "@ thus getconf(\"editor/grid_unit\")")' | ./$(PCBRND) $(TDIR)/1obj.lht --gui batch > $(TDIR)/getconf.out +getconf2.diff: getconf2.out + @diff -u getconf2.out getconf2.ref && rm getconf2.out +getconf2.out: FORCE + @cd $(SRC) && echo 'query(eval, "@ thus $$min_drill")' | ./$(PCBRND) $(TDIR)/1obj.lht --gui batch > $(TDIR)/getconf2.out + + FORCE: Index: getconf2.ref =================================================================== --- getconf2.ref (nonexistent) +++ getconf2.ref (revision 30378) @@ -0,0 +1,3 @@ +Script eval: '@ thus $min_drill' scope='' + true (381000=15.00000000 mil) +eval statistics: true=1 false=0 errors=0