Index: trunk/tests/expopt/ref/layers.as.eps.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.as.eps.gz =================================================================== --- trunk/tests/expopt/ref/layers.as.eps.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.as.eps.gz (revision 36284) Property changes on: trunk/tests/expopt/ref/layers.as.eps.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.base.eps.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.base.eps.gz =================================================================== --- trunk/tests/expopt/ref/layers.base.eps.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.base.eps.gz (revision 36284) Property changes on: trunk/tests/expopt/ref/layers.base.eps.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.mono.eps.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.mono.eps.gz =================================================================== --- trunk/tests/expopt/ref/layers.mono.eps.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.mono.eps.gz (revision 36284) Property changes on: trunk/tests/expopt/ref/layers.mono.eps.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.sc.eps.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.sc.eps.gz =================================================================== --- trunk/tests/expopt/ref/layers.sc.eps.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.sc.eps.gz (revision 36284) Property changes on: trunk/tests/expopt/ref/layers.sc.eps.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/test.sh =================================================================== --- trunk/tests/expopt/test.sh (revision 36283) +++ trunk/tests/expopt/test.sh (revision 36284) @@ -32,7 +32,14 @@ ' # need to Use --photo-plating copper to avoid random noise +test_eps=' + base + sc --eps-scale 0.6 + as --as-shown + mono --monochrome +' + # $1: test file # $2: output ext # $3: test args, one per line @@ -82,7 +89,7 @@ zcat "$out.gz" > "$out" diff -u "$ref" "$out" && rm "$ref" "$out" ;; - svg) + svg|eps) zcat "$ref.gz" > "$ref" diff -u "$ref" "$out" && rm "$ref" ;; @@ -144,6 +151,17 @@ } +gen_eps() +{ + lead="-x eps --eps-file" + gen_any layers eps "$test_eps" +} + +cmp_eps() +{ + cmp_any layers eps "$test_eps" +} + mkdir -p out diff case "$1" in @@ -156,6 +174,10 @@ gen_png cmp_png ;; + eps) + gen_eps + cmp_eps + ;; "") echo "generating svg..." gen_svg