1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 06:54:03 +02: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
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
[ ! -r ref.png ] || \
compare -metric AE ref.png _out.png _diff.png || \
qiv -t -R -D _diff.png ref.png _out.png
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)
./$(NAME) test.lib test.sch -- png -o _out.png -s 2