3 # Copyright (c) 2003, 2004, 2005, 2006, 2007 Dan McMahill
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of version 2 of the GNU General Public License as
7 # published by the Free Software Foundation
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
17 # All rights reserved.
19 # This code was derived from code written by Dan McMahill as part of the
20 # latex-mk testsuite. The original code was covered by a BSD license
21 # but the copyright holder is releasing the version for gerbv under the GPL.
26 # test_name | layout file(s) | [optional arguments to gerbv] | [mismatch]
28 # test_name - a single string with no spaces, tabs, *, +, ? (i.e. any "special"
29 # characters) that identifies the test.
31 # layout file(s) - a list of layout files. Files listed are relative to
32 # the $(top_srcdir)/tests/inputs directory.
34 # [optional arguments to gerbv] If specified, this last field will be used as
35 # the gerbv export command line. Otherwise a default set of options will be
38 # [mismatch] If specified as "mismatch" (no quotes), then the given layout
39 # should *not* match the reference layout. This can be thought of as a test
40 # on the testsuite to make sure we can properly detect when two PNG files
44 ######################################################################
45 # ---------------------------------------------
46 # Existing layouts from the examples/ directory
47 # ---------------------------------------------
48 ######################################################################
50 example_mentor_boardstation | ../../example/Mentor-BoardStation/artwork_1.grb
53 example_am_test | ../../example/am-test/am-test.gbx
56 example_cslk | ../../example/cslk/cslk.gbx
59 example_dan_top | ../../example/dan/top.gbx
60 #example_dan_top_mismatch | ../../example/dan/top_mod.gbx | | mismatch
61 example_dan_top_sr | ../../example/dan/top_sr.gbx
64 example_eaglecad1 | ../../example/eaglecad1/top-cop.gbx
69 example_ekf2_d1 | ../../example/ekf2/d1.grb
70 example_ekf2_drill0 | ../../example/ekf2/drill0.exc
71 example_ekf2_drill1 | ../../example/ekf2/drill1.exc
72 example_ekf2_drill20 | ../../example/ekf2/drill20.exc
73 example_ekf2_drill30 | ../../example/ekf2/drill30.exc
74 example_ekf2_gnd | ../../example/ekf2/gnd.grb
75 example_ekf2_l0 | ../../example/ekf2/l0.grb
76 example_ekf2_l1 | ../../example/ekf2/l1.grb
77 example_ekf2_l2 | ../../example/ekf2/l2.grb
78 example_ekf2_l3 | ../../example/ekf2/l3.grb
79 example_ekf2_l4 | ../../example/ekf2/l4.grb
80 example_ekf2_l5 | ../../example/ekf2/l5.grb
81 example_ekf2_pow | ../../example/ekf2/pow.grb
82 example_ekf2_pow3 | ../../example/ekf2/pow3.grb
83 example_ekf2_resplan | ../../example/ekf2/resplan.grb
84 example_ekf2_sieb0 | ../../example/ekf2/sieb0.grb
85 example_ekf2_sieb1 | ../../example/ekf2/sieb1.grb
86 example_ekf2_stp0 | ../../example/ekf2/stp0.grb
87 example_ekf2_stp1 | ../../example/ekf2/stp1.grb
90 example_exposure | ../../example/exposure/example.grb
93 example_jj_l1-1 | ../../example/jj/l1-1.grb
94 example_jj_l1-2 | ../../example/jj/l1-2.grb
95 example_jj_l1-3 | ../../example/jj/l1-3.grb
96 example_jj_l1-orig | ../../example/jj/l1-orig.grb
99 example_nollezappare_EtchLayer2Bottom. | ../../example/nollezappare/EtchLayer2Bottom.gdo
100 example_nollezappare_ThruHolePlated | ../../example/nollezappare/ThruHolePlated.ncd
103 example_numpres_numpres_pcb_output_componentmask | ../../example/numpres/numpres.pcb.output_componentmask.grb
104 example_numpres_numpres_pcb_output_componentsilk | ../../example/numpres/numpres.pcb.output_componentsilk.grb
105 example_numpres_numpres.pcb.output_group1 | ../../example/numpres/numpres.pcb.output_group1.grb
106 example_numpres_numpres.pcb.output_group2 | ../../example/numpres/numpres.pcb.output_group2.grb
107 example_numpres_numpres.pcb.output_plated-drill | ../../example/numpres/numpres.pcb.output_plated-drill.grb
108 example_numpres_numpres.pcb.output_soldermask | ../../example/numpres/numpres.pcb.output_soldermask.grb
109 example_numpres_numpres.pcb.output_unplated-drill | ../../example/numpres/numpres.pcb.output_unplated-drill.grb
112 example_orcad_rs232_cm_asb | ../../example/orcad/rs232_cm.asb
113 example_orcad_rs232_cm_ast | ../../example/orcad/rs232_cm.ast
114 example_orcad_rs232_cm_bot | ../../example/orcad/rs232_cm.bot
115 example_orcad_rs232_cm_drd | ../../example/orcad/rs232_cm.drd
116 example_orcad_rs232_cm_smb | ../../example/orcad/rs232_cm.smb
117 example_orcad_rs232_cm_smt | ../../example/orcad/rs232_cm.smt
118 example_orcad_rs232_cm_ssb | ../../example/orcad/rs232_cm.ssb
119 example_orcad_rs232_cm_sst | ../../example/orcad/rs232_cm.sst
120 example_orcad_rs232_cm_top | ../../example/orcad/rs232_cm.top
121 example_orcad_thruhole_tap | ../../example/orcad/thruhole.tap
124 example_pick_and_place_LED | ../../example/pick-and-place/LED.xy
127 example_polarity_6_vbat | ../../example/polarity/6_vbat.gbr
129 # not sure what all to do with this one
132 # test aperture macro number 7
134 example_thermal_bpB | ../../example/thermal/bpB.GP1
135 example_thermal_dsp | ../../example/thermal/dsp.GP1
138 example_trailing_cd1r2.1_sieb0 | ../../example/trailing/cd1r2.1_sieb0.off
139 example_trailing_cd1r2.1_sieb1 | ../../example/trailing/cd1r2.1_sieb1.off
142 ######################################################################
143 # ---------------------------------------------
144 # Layouts designed for the testsuite
145 # ---------------------------------------------
146 ######################################################################
148 test-image-justify-1 | test-image-justify-1.gbx
149 test-image-justify-2 | test-image-justify-2.gbx
150 test-image-offset-1 | test-image-offset-1.gbx
151 test-image-rotation-1 | test-image-rotation-1.gbx
152 test-image-polarity-1 | test-image-polarity-1.gbx
153 test-image-offset-2 | test-image-offset-2.gbx
154 test-layer-axis-select-1 | test-layer-axis-select-1.gbx
155 test-layer-knockout-1 | test-layer-knockout-1.gbx
156 test-layer-knockout-2 | test-layer-knockout-2.gbx
157 test-layer-mirror-image-1 | test-layer-mirror-image-1.gbx
158 test-layer-mode-1 | test-layer-mode-1.gbx
159 test-layer-offset-1 | test-layer-offset-1.gbx
160 test-layer-rotation-1 | test-layer-rotation-1.gbx
161 test-layer-scale-factor-1 | test-layer-scale-factor-1.gbx
162 test-layer-step-and_repeat-1 | test-layer-step-and_repeat-1.gbx
163 test-layer-step-and_repeat-2 | test-layer-step-and_repeat-2.gbx
164 test-aperture-circle-1 | test-aperture-circle-1.gbx
165 test-aperture-obround-flash-1 | test-aperture-obround-flash-1.gbx
166 test-aperture-rectangle-1 | test-aperture-rectangle-1.gbx
167 test-aperture-circle-flash-1 | test-aperture-circle-flash-1.gbx
168 test-aperture-polygon-1 | test-aperture-polygon-1.gbx
169 test-aperture-rectangle-flash-1 | test-aperture-rectangle-flash-1.gbx
170 test-aperture-obround-1 | test-aperture-obround-1.gbx
171 test-aperture-polygon-flash-1 | test-aperture-polygon-flash-1.gbx
172 test-polygon-fill-1 | test-polygon-fill-1.gbx
173 test-circular-interpolation-1 | test-circular-interpolation-1.gbx
175 # ---------------------------------------------
176 # Excellon drill tests
177 # ---------------------------------------------
178 test-drill-trailing-zero-1 | test-drill-trailing-zero-1.exc
179 test-drill-leading-zero-1 | test-drill-leading-zero-1.exc
181 # Test the "R" command which repeats a drill hole a given
182 # number of times with the given x and y step size
183 test-drill-repeat-1 | test-drill-repeat-1.exc