Index: Makefile =================================================================== --- Makefile (revision 30376) +++ Makefile (revision 30377) @@ -4,13 +4,19 @@ TDIR=../tests/query PCBRND=./pcb-rnd -all: action.diff +all: action.diff getconf.diff action.diff: action.out @diff -u action.out action.ref && rm action.out action.out: FORCE - cd $(SRC) && echo 'query(eval, "action(\"message\", \"hello\", @.x)")' | ./$(PCBRND) $(TDIR)/1obj.lht --gui batch > $(TDIR)/action.out + @cd $(SRC) && echo 'query(eval, "action(\"message\", \"hello\", @.x)")' | ./$(PCBRND) $(TDIR)/1obj.lht --gui batch > $(TDIR)/action.out +getconf.diff: getconf.out + @diff -u getconf.out getconf.ref && rm getconf.out +getconf.out: FORCE + @cd $(SRC) && echo 'query(eval, "@ thus getconf(\"editor/grid_unit\")")' | ./$(PCBRND) $(TDIR)/1obj.lht --gui batch > $(TDIR)/getconf.out + + FORCE: Index: getconf.ref =================================================================== --- getconf.ref (nonexistent) +++ getconf.ref (revision 30377) @@ -0,0 +1,3 @@ +Script eval: '@ thus getconf("editor/grid_unit")' scope='' + "mil" +eval statistics: true=1 false=0 errors=0