1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-07-05 02:29:49 +03:00

eeshow/Makefile (test, testref): must use -- fig for FIG output

Anything without -- goes to the GUI (except for development options like
-C and -H).
This commit is contained in:
Werner Almesberger 2016-08-05 21:16:56 -03:00
parent e949130daf
commit 21c9a6e1aa

View File

@ -41,14 +41,15 @@ sch:
eeschema test.sch eeschema test.sch
test: $(NAME) test: $(NAME)
./$(NAME) test.lib test.sch >out.fig ./$(NAME) test.lib test.sch -- fig >out.fig
fig2dev -L png -m 2 out.fig _out.png fig2dev -L png -m 2 out.fig _out.png
[ ! -r ref.png ] || \ [ ! -r ref.png ] || \
compare -metric AE ref.png _out.png _diff.png || \ compare -metric AE ref.png _out.png _diff.png || \
qiv -t -R -D _diff.png ref.png _out.png qiv -t -R -D _diff.png ref.png _out.png
testref: $(NAME) testref: $(NAME)
./$(NAME) test.lib test.sch | fig2dev -L png -m 2 >ref.png ./$(NAME) test.lib test.sch -- fig | \
fig2dev -L png -m 2 >ref.png
png: $(NAME) png: $(NAME)
./$(NAME) test.lib test.sch -- png -o _out.png -s 2 ./$(NAME) test.lib test.sch -- png -o _out.png -s 2