summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-05 21:16:56 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-05 21:17:50 -0300
commitc87a1276ace0fedd1292dade2d3da0b619f733ff (patch)
tree53d60fc248231354cd21463362da4c2879eaf8b5 /Makefile
parent4041acea7b564abdc4ff266542237665320a115c (diff)
downloadeeshow-c87a1276ace0fedd1292dade2d3da0b619f733ff.tar.gz
eeshow-c87a1276ace0fedd1292dade2d3da0b619f733ff.tar.bz2
eeshow-c87a1276ace0fedd1292dade2d3da0b619f733ff.zip
eeshow/Makefile (test, testref): must use -- fig for FIG output
Anything without -- goes to the GUI (except for development options like -C and -H).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9ff2976..fb059cc 100644
--- a/Makefile
+++ b/Makefile
@@ -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