mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-23 16:46:25 +02:00
sch2fig/Makefile (diff, view, newref): add regression test operations
This commit is contained in:
parent
2cea73d040
commit
4c3a3a1f84
@ -18,7 +18,7 @@ LIBS = -lm
|
||||
|
||||
include ../common/Makefile.c-common
|
||||
|
||||
.PHONY: test neo900
|
||||
.PHONY: test neo900 test diff view newref
|
||||
|
||||
all:: $(NAME)
|
||||
|
||||
@ -46,3 +46,14 @@ neo900.pdf: $(NAME) sch2pdf neo900-template.fig
|
||||
./sch2pdf -o $@ -t neo900-template.fig \
|
||||
$(NEO900_HW)/neo900.lib $(KICAD_LIBS)/powered.lib \
|
||||
$(NEO900_HW)/neo900.sch
|
||||
|
||||
diff:
|
||||
test/genpng test out
|
||||
test/comp test || $(MAKE) view
|
||||
|
||||
view:
|
||||
qiv -t -R -D `echo test/_diff*.png | \
|
||||
sed 's/\([^ ]*\)_diff\([^ ]*\)/\1_diff\2 \1ref\2 \1out\2/g'`
|
||||
|
||||
newref:
|
||||
test/genpng test ref
|
||||
|
Loading…
Reference in New Issue
Block a user