Index: trunk/tests/drc_query/Makefile =================================================================== --- trunk/tests/drc_query/Makefile (revision 30387) +++ trunk/tests/drc_query/Makefile (revision 30388) @@ -6,7 +6,7 @@ GLOBARGS=-c rc/library_search_paths=../tests/RTT/lib -c rc/quiet=1 TESTS = \ -thickness.diff overlap.diff netint.diff +thickness.diff overlap.diff netint.diff dwg_area.diff test: $(TESTS) @@ -30,7 +30,13 @@ netint.out: FORCE @cd $(SRC) && echo "drc()" | $(PCBRND) $(GLOBARGS) $(TDIR)/netint.lht --gui batch > $(TDIR)/netint.out +dwg_area.diff: dwg_area.out + @diff -u dwg_area.ref dwg_area.out && rm dwg_area.out +dwg_area.out: FORCE + @cd $(SRC) && echo "drc()" | $(PCBRND) $(GLOBARGS) $(TDIR)/dwg_area.lht --gui batch > $(TDIR)/dwg_area.out + + clean: @echo "a" > dummy.out rm *.out Index: trunk/tests/drc_query/dwg_area.lht =================================================================== --- trunk/tests/drc_query/dwg_area.lht (nonexistent) +++ trunk/tests/drc_query/dwg_area.lht (revision 30388) @@ -0,0 +1,110 @@ +ha:pcb-rnd-board-v6 { + + li:styles { + } + + ha:meta { + ha:size { + thermal_scale = 0.500000 + x = 375.0mil + y = 150.0mil + } + ha:grid { + spacing = 25.0mil + } + } + + ha:data { + li:padstack_prototypes { + } + + li:objects { + } + li:layers { + + ha:top-sig { + lid=0 + group=0 + ha:combining { } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftt} + {pcb-rnd::key::select}={l; t} + } + + li:objects { + ha:line.5 { + x1=150.0mil; y1=-75.0mil; x2=200.0mil; y2=-75.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.11 { + x1=-175.0mil; y1=75.0mil; x2=-125.0mil; y2=75.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.14 { + x1=150.0mil; y1=225.0mil; x2=200.0mil; y2=225.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.17 { + x1=525.0mil; y1=75.0mil; x2=575.0mil; y2=75.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.23 { + x1=0.0; y1=0.0; x2=50.0mil; y2=0.0; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.26 { + x1=325.0mil; y1=150.0mil; x2=375.0mil; y2=150.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.29 { + x1=0.0; y1=150.0mil; x2=50.0mil; y2=150.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.32 { + x1=325.0mil; y1=0.0; x2=375.0mil; y2=0.0; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + } + color = {#8b2323} + } + } + } + ha:layer_stack { + li:groups { + ha:0 { + name = top_copper + ha:type { copper=1; top=1; } + li:layers { 0; } + } + } + } + li:pcb-rnd-conf-v1 { + ha:overwrite { + ha:design { + text_font_id = 0 + } + ha:plugins { + ha:drc_orig { + disable = 1 + } + } + } + } +} Index: trunk/tests/drc_query/dwg_area.ref =================================================================== --- trunk/tests/drc_query/dwg_area.ref (nonexistent) +++ trunk/tests/drc_query/dwg_area.ref (revision 30388) @@ -0,0 +1,20 @@ +1: object beyond drawing area: Objects located outside of the drawing area +within (112.40, -106.35, 237.60, -43.65) mil +required value 0.00 +Objects may be omitted from exports or may be outside of the board contour. + +2: object beyond drawing area: Objects located outside of the drawing area +within (-212.60, 43.65, -87.40, 106.35) mil +required value 0.00 +Objects may be omitted from exports or may be outside of the board contour. + +3: object beyond drawing area: Objects located outside of the drawing area +within (112.40, 193.65, 237.60, 256.35) mil +required value 0.00 +Objects may be omitted from exports or may be outside of the board contour. + +4: object beyond drawing area: Objects located outside of the drawing area +within (487.40, 43.65, 612.60, 106.35) mil +required value 0.00 +Objects may be omitted from exports or may be outside of the board contour. +