Index: trunk/tests/expopt/README =================================================================== --- trunk/tests/expopt/README (nonexistent) +++ trunk/tests/expopt/README (revision 36281) @@ -0,0 +1 @@ +Test different export options against saved references. Index: trunk/tests/expopt/layers.lht =================================================================== --- trunk/tests/expopt/layers.lht (nonexistent) +++ trunk/tests/expopt/layers.lht (revision 36281) @@ -0,0 +1,699 @@ +ha:pcb-rnd-board-v8 { + + ha:meta { + ha:size { + thermal_scale = 0.500000 + x = 875.0mil + y = 925.0mil + } + ha:grid { + spacing = 25.0mil + offs_x = 0.0 + offs_y = 0.0 + } + } + + ha:data { + li:padstack_prototypes { + + ha:ps_proto_v6.0 { + hdia=0.8mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + } + } + + ha:ps_proto_v6.1 { + hdia=1.0mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.2mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.2mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.2mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + } + } + + ha:ps_proto_v6.2 { + hdia=1.2mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + } + } + + ha:ps_proto_v6.3 { + hdia=0.8mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + } + } + + ha:ps_proto_v6.4 { + hdia=0.8mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.1524mm; } + ha:combining { sub=1; auto=1; } + ha:layer_mask { + top = 1 + mask = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { auto=1; } + ha:layer_mask { + top = 1 + paste = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.0mm; } + ha:combining { auto=1; } + ha:layer_mask { + bottom = 1 + paste = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=2.1524mm; } + ha:combining { sub=1; auto=1; } + ha:layer_mask { + bottom = 1 + mask = 1 + } + clearance=0.0 + } + } + } + } + + li:objects { + ha:padstack_ref.52 { + proto=0; x=125.0mil; y=725.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=20.0mil; + ha:flags { + clearline=1 + } + + li:thermal { + } + } + ha:padstack_ref.53 { + proto=4; x=525.0mil; y=725.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=20.0mil; + ha:flags { + clearline=1 + } + + li:thermal { + } + } + } + li:layers { + + ha:top-sig { + lid=0 + group=3 + ha:combining { } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftt} + {pcb-rnd::key::select}={l; t} + } + + li:objects { + ha:text.8 { + string=top copper; x=50.0mil; y=375.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#8b2323} + } + + ha:bottom-sig { + lid=1 + group=9 + ha:combining { } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftb} + {pcb-rnd::key::select}={l; b} + } + + li:objects { + ha:text.10 { + string=bottom copper; x=425.0mil; y=450.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + onsolder=1 + } + rot = 0.000000 + } + } + color = {#3a5fcd} + } + + ha:int-sig1 { + lid=2 + group=5 + ha:combining { } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shifto} + {pcb-rnd::key::select}={l; o} + } + + li:objects { + ha:text.9 { + string=int sig; x=50.0mil; y=475.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#8b7355} + } + + ha:outline { + lid=3 + group=8 + ha:combining { } + + li:objects { + ha:line.20 { + x1=150.0mil; y1=0.0; x2=0.0; y2=150.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.32 { + x1=875.0mil; y1=800.0mil; x2=875.0mil; y2=0.0; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.35 { + x1=875.0mil; y1=0.0; x2=150.0mil; y2=0.0; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.38 { + x1=875.0mil; y1=800.0mil; x2=0.0; y2=800.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.41 { + x1=0.0; y1=150.0mil; x2=0.0; y2=800.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:text.14 { + string=outline; x=425.0mil; y=500.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#00868b} + } + + ha:bottom-silk { + lid=4 + group=11 + ha:combining { auto=1; } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftx} + {pcb-rnd::key::select}={l; x} + } + + li:objects { + ha:text.12 { + string=bottom silk; x=425.0mil; y=250.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + onsolder=1 + } + rot = 0.000000 + } + } + color = {#000000} + } + + ha:top-silk { + lid=5 + group=1 + ha:combining { auto=1; } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shifts} + {pcb-rnd::key::select}={l; s} + } + + li:objects { + ha:text.6 { + string=top silk; x=50.0mil; y=175.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#000000} + } + + ha:top-paste { + lid=6 + group=0 + ha:combining { auto=1; } + + li:objects { + ha:text.5 { + string=top paste; x=50.0mil; y=75.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#cd00cd} + } + + ha:top-mask { + lid=7 + group=2 + ha:combining { sub=1; auto=1; } + + li:objects { + ha:text.7 { + string=top mask; x=50.0mil; y=275.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#ff0000} + } + + ha:bottom-mask { + lid=8 + group=10 + ha:combining { sub=1; auto=1; } + + li:objects { + ha:text.11 { + string=bottom masl; x=425.0mil; y=350.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + onsolder=1 + } + rot = 0.000000 + } + } + color = {#ff0000} + } + + ha:bottom-paste { + lid=9 + group=12 + ha:combining { auto=1; } + + li:objects { + ha:text.13 { + string=bottom paste; x=400.0mil; y=125.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + onsolder=1 + } + rot = 0.000000 + } + } + color = {#cd00cd} + } + + ha:slot-plated { + lid=10 + group=13 + ha:combining { auto=1; } + + li:objects { + ha:text.15 { + string=slot pl; x=50.0mil; y=600.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#8b7355} + } + + ha:slot-unplated { + lid=11 + group=14 + ha:combining { auto=1; } + + li:objects { + ha:text.16 { + string=slot unpl; x=425.0mil; y=600.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#00868b} + } + + ha:top-assy { + lid=12 + group=15 + ha:combining { } + + li:objects { + ha:text.17 { + string=top assy; x=50.0mil; y=725.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#444444} + } + + ha:bot-assy { + lid=13 + group=16 + ha:combining { } + + li:objects { + ha:text.18 { + string=bottom assy; x=450.0mil; y=800.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + onsolder=1 + } + rot = 0.000000 + } + } + color = {#444444} + } + + ha:fab { + lid=14 + group=17 + ha:combining { auto=1; } + + li:objects { + ha:text.19 { + string=FAB; x=325.0mil; y=825.0mil; scale=100; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + } + color = {#222222} + } + } + } + + ha:layer_stack { + li:groups { + ha:0 { + name = top_paste + ha:type { top=1; paste=1; } + li:layers { 6; } + } + ha:1 { + name = top_silk + ha:type { silk=1; top=1; } + li:layers { 5; } + } + ha:2 { + name = top_mask + ha:type { top=1; mask=1; } + li:layers { 7; } + } + ha:3 { + name = top_copper + ha:type { copper=1; top=1; } + li:layers { 0; } + } + ha:4 { + name = grp_4 + ha:type { substrate=1; intern=1; } + li:layers { } + ha:attributes { + thickness={0.7375mm } + } + } + ha:5 { + name = Intern + ha:type { copper=1; intern=1; } + li:layers { 2; } + } + ha:6 { + name = grp_6 + ha:type { substrate=1; intern=1; } + li:layers { } + ha:attributes { + thickness={0.125mm } + } + } + ha:7 { + name = grp_8 + ha:type { substrate=1; intern=1; } + li:layers { } + ha:attributes { + thickness={0.7375mm } + } + } + ha:8 { + name = global_outline + ha:type { boundary=1; } + li:layers { 3; } + purpose = uroute + } + ha:9 { + name = bottom_copper + ha:type { bottom=1; copper=1; } + li:layers { 1; } + } + ha:10 { + name = bottom_mask + ha:type { bottom=1; mask=1; } + li:layers { 8; } + } + ha:11 { + name = bottom_silk + ha:type { silk=1; bottom=1; } + li:layers { 4; } + } + ha:12 { + name = bottom_paste + ha:type { bottom=1; paste=1; } + li:layers { 9; } + } + ha:13 { + name = pmech + ha:type { mech=1; } + li:layers { 10; } + purpose = proute + } + ha:14 { + name = umech + ha:type { mech=1; } + li:layers { 11; } + purpose = uroute + } + ha:15 { + name = top_assy + ha:type { top=1; doc=1; } + li:layers { 12; } + ha:attributes { + init-invis=1 + } + purpose = assy + } + ha:16 { + name = bot_assy + ha:type { bottom=1; doc=1; } + li:layers { 13; } + ha:attributes { + init-invis=1 + } + purpose = assy + } + ha:17 { + name = fab + ha:type { top=1; doc=1; } + li:layers { 14; } + ha:attributes { + init-invis=1 + } + purpose = fab + } + } + } + ha:pixmaps { + } +} Index: trunk/tests/expopt/ref/layers.alpha.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.alpha.png =================================================================== --- trunk/tests/expopt/ref/layers.alpha.png (nonexistent) +++ trunk/tests/expopt/ref/layers.alpha.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.alpha.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.as.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.as.png =================================================================== --- trunk/tests/expopt/ref/layers.as.png (nonexistent) +++ trunk/tests/expopt/ref/layers.as.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.as.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.as.svg.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.as.svg.gz =================================================================== --- trunk/tests/expopt/ref/layers.as.svg.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.as.svg.gz (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.as.svg.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.base.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.base.png =================================================================== --- trunk/tests/expopt/ref/layers.base.png (nonexistent) +++ trunk/tests/expopt/ref/layers.base.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.base.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.base.svg.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.base.svg.gz =================================================================== --- trunk/tests/expopt/ref/layers.base.svg.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.base.svg.gz (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.base.svg.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.bloat.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.bloat.png =================================================================== --- trunk/tests/expopt/ref/layers.bloat.png (nonexistent) +++ trunk/tests/expopt/ref/layers.bloat.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.bloat.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.flip.svg.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.flip.svg.gz =================================================================== --- trunk/tests/expopt/ref/layers.flip.svg.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.flip.svg.gz (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.flip.svg.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.mono.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.mono.png =================================================================== --- trunk/tests/expopt/ref/layers.mono.png (nonexistent) +++ trunk/tests/expopt/ref/layers.mono.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.mono.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.opa.svg.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.opa.svg.gz =================================================================== --- trunk/tests/expopt/ref/layers.opa.svg.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.opa.svg.gz (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.opa.svg.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.ph.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.ph.png =================================================================== --- trunk/tests/expopt/ref/layers.ph.png (nonexistent) +++ trunk/tests/expopt/ref/layers.ph.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.ph.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.ph.svg.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.ph.svg.gz =================================================================== --- trunk/tests/expopt/ref/layers.ph.svg.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.ph.svg.gz (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.ph.svg.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.phmr.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.phmr.png =================================================================== --- trunk/tests/expopt/ref/layers.phmr.png (nonexistent) +++ trunk/tests/expopt/ref/layers.phmr.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.phmr.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.phn.svg.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.phn.svg.gz =================================================================== --- trunk/tests/expopt/ref/layers.phn.svg.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.phn.svg.gz (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.phn.svg.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.phpg.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.phpg.png =================================================================== --- trunk/tests/expopt/ref/layers.phpg.png (nonexistent) +++ trunk/tests/expopt/ref/layers.phpg.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.phpg.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.phsb.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.phsb.png =================================================================== --- trunk/tests/expopt/ref/layers.phsb.png (nonexistent) +++ trunk/tests/expopt/ref/layers.phsb.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.phsb.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.phx.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.phx.png =================================================================== --- trunk/tests/expopt/ref/layers.phx.png (nonexistent) +++ trunk/tests/expopt/ref/layers.phx.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.phx.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.phy.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.phy.png =================================================================== --- trunk/tests/expopt/ref/layers.phy.png (nonexistent) +++ trunk/tests/expopt/ref/layers.phy.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.phy.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.ts.svg.gz =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.ts.svg.gz =================================================================== --- trunk/tests/expopt/ref/layers.ts.svg.gz (nonexistent) +++ trunk/tests/expopt/ref/layers.ts.svg.gz (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.ts.svg.gz ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.xmax.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.xmax.png =================================================================== --- trunk/tests/expopt/ref/layers.xmax.png (nonexistent) +++ trunk/tests/expopt/ref/layers.xmax.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.xmax.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.xymax.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.xymax.png =================================================================== --- trunk/tests/expopt/ref/layers.xymax.png (nonexistent) +++ trunk/tests/expopt/ref/layers.xymax.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.xymax.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: trunk/tests/expopt/ref/layers.ymax.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/tests/expopt/ref/layers.ymax.png =================================================================== --- trunk/tests/expopt/ref/layers.ymax.png (nonexistent) +++ trunk/tests/expopt/ref/layers.ymax.png (revision 36281) Property changes on: trunk/tests/expopt/ref/layers.ymax.png ___________________________________________________________________ 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 (nonexistent) +++ trunk/tests/expopt/test.sh (revision 36281) @@ -0,0 +1,63 @@ +#!/bin/sh + +pcb=pcb-rnd + +test_svg=' + base + ph --photo-mode + phn --photo-mode --photo-noise + opa --opacity 50 + flip --flip + as --as-shown + ts --true-size +' + +test_png=' + base --dpi 200 + xmax --dpi 200 --x-max 50 + ymax --dpi 200 --y-max 50 + xymax --dpi 200 --xy-max 50 + as --dpi 200 --as-shown + mono --dpi 200 --monochrome + alpha --dpi 200 --use-alpha + bloat --dpi 200 --png-bloat 0.5mm + ph --dpi 200 --photo-mode + phx --dpi 200 --photo-mode --photo-flip-x + phy --dpi 200 --photo-mode --photo-flip-y + phmr --dpi 200 --photo-mode --photo-mask-colour red + phpg --dpi 200 --photo-mode --photo-plating gold + phsb --dpi 200 --photo-mode --photo-silk-colour black +' + +# $1: test file +# $2: output ext +# $3: test args, one per line +gen_any() +{ + echo "$3" | while read name args + do + if test ! -z "$name" + then + $pcb $lead out/$1.$name.$2 $1.lht $args + fi + done +} + +gen_svg() +{ + lead="-x svg --outfile" + gen_any layers svg "$test_svg" +} + +gen_png() +{ + lead="-x png --outfile" + gen_any layers png "$test_png" +} + + +mkdir -p out + +gen_svg +gen_png + Property changes on: trunk/tests/expopt/test.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property