mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 09:39:42 +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:
parent
e949130daf
commit
21c9a6e1aa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user