From d65019e28087e417b972675fe6ce864e19b4bbf5 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 15 Mar 2022 00:37:17 +0000 Subject: [PATCH] Update tests. --- qa/data/issue1358.kicad_pro | 51 ++++++++++++++++++++++++++++++++-- qa/data/issue2512.kicad_pro | 5 ++-- qa/data/issue7325.kicad_pro | 50 ++++++++++++++++++++++++++++++++-- qa/data/severities.kicad_pro | 53 +++++++++++++++++++++++++++++++++--- 4 files changed, 147 insertions(+), 12 deletions(-) diff --git a/qa/data/issue1358.kicad_pro b/qa/data/issue1358.kicad_pro index 2e29c1f73f..e68cc16fc0 100755 --- a/qa/data/issue1358.kicad_pro +++ b/qa/data/issue1358.kicad_pro @@ -71,13 +71,16 @@ "drill_out_of_range": "error", "duplicate_footprints": "warning", "extra_footprint": "warning", + "footprint_type_mismatch": "error", "hole_clearance": "error", "hole_near_hole": "error", "invalid_outline": "error", + "isolated_copper": "warning", "item_on_disabled_layer": "error", "items_not_allowed": "error", "length_out_of_range": "error", "lib_footprint_issues": "ignore", + "lib_footprint_mismatch": "error", "malformed_courtyard": "error", "microvia_drill_out_of_range": "error", "missing_courtyard": "ignore", @@ -87,6 +90,7 @@ "padstack": "error", "pth_inside_courtyard": "ignore", "shorting_items": "error", + "silk_edge_clearance": "ignore", "silk_over_copper": "ignore", "silk_overlap": "warning", "skew_out_of_range": "error", @@ -94,6 +98,7 @@ "starved_thermal": "error", "text_height": "warning", "text_thickness": "warning", + "through_hole_pad_without_hole": "error", "too_many_vias": "error", "track_dangling": "ignore", "track_width": "error", @@ -101,7 +106,6 @@ "unconnected_items": "error", "unresolved_variable": "error", "via_dangling": "warning", - "zone_has_empty_net": "error", "zones_intersect": "error" }, "rules": { @@ -126,6 +130,46 @@ "solder_mask_to_copper_clearance": 0.0, "use_height_for_length_calcs": true }, + "teardrop_options": [ + { + "td_allow_use_two_tracks": true, + "td_curve_segcount": 5, + "td_on_pad_in_zone": false, + "td_onpadsmd": true, + "td_onroundshapesonly": false, + "td_ontrackend": false, + "td_onviapad": true + } + ], + "teardrop_parameters": [ + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_round_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_rect_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_track_end", + "td_width_to_size_filter_ratio": 0.9 + } + ], "track_widths": [ 0.0, 0.3, @@ -145,7 +189,8 @@ "zones_allow_external_fillets": false, "zones_use_no_outline": true }, - "layer_presets": [] + "layer_presets": [], + "viewports": [] }, "boards": [], "cvpcb": { @@ -355,7 +400,7 @@ } ], "meta": { - "version": 1 + "version": 2 }, "net_colors": null }, diff --git a/qa/data/issue2512.kicad_pro b/qa/data/issue2512.kicad_pro index 9af023de64..d6b4f8aa28 100644 --- a/qa/data/issue2512.kicad_pro +++ b/qa/data/issue2512.kicad_pro @@ -150,7 +150,8 @@ "zones_allow_external_fillets": false, "zones_use_no_outline": true }, - "layer_presets": [] + "layer_presets": [], + "viewports": [] }, "boards": [], "cvpcb": { @@ -390,7 +391,7 @@ } ], "meta": { - "version": 1 + "version": 2 }, "net_colors": null }, diff --git a/qa/data/issue7325.kicad_pro b/qa/data/issue7325.kicad_pro index 5ca784fe97..4c8d597d59 100755 --- a/qa/data/issue7325.kicad_pro +++ b/qa/data/issue7325.kicad_pro @@ -74,10 +74,12 @@ "hole_clearance": "error", "hole_near_hole": "error", "invalid_outline": "error", + "isolated_copper": "warning", "item_on_disabled_layer": "error", "items_not_allowed": "error", "length_out_of_range": "error", "lib_footprint_issues": "ignore", + "lib_footprint_mismatch": "error", "malformed_courtyard": "error", "microvia_drill_out_of_range": "error", "missing_courtyard": "ignore", @@ -87,6 +89,7 @@ "padstack": "error", "pth_inside_courtyard": "ignore", "shorting_items": "error", + "silk_edge_clearance": "ignore", "silk_over_copper": "ignore", "silk_overlap": "warning", "skew_out_of_range": "error", @@ -102,7 +105,6 @@ "unconnected_items": "error", "unresolved_variable": "error", "via_dangling": "ignore", - "zone_has_empty_net": "error", "zones_intersect": "error" }, "rules": { @@ -124,8 +126,49 @@ "min_track_width": 0.2032, "min_via_annular_width": 0.15, "min_via_diameter": 0.6, + "solder_mask_to_copper_clearance": 0.0, "use_height_for_length_calcs": true }, + "teardrop_options": [ + { + "td_allow_use_two_tracks": true, + "td_curve_segcount": 5, + "td_on_pad_in_zone": false, + "td_onpadsmd": true, + "td_onroundshapesonly": false, + "td_ontrackend": false, + "td_onviapad": true + } + ], + "teardrop_parameters": [ + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_round_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_rect_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_track_end", + "td_width_to_size_filter_ratio": 0.9 + } + ], "track_widths": [ 0.0, 0.2032, @@ -164,7 +207,8 @@ "zones_allow_external_fillets": false, "zones_use_no_outline": true }, - "layer_presets": [] + "layer_presets": [], + "viewports": [] }, "boards": [], "cvpcb": { @@ -374,7 +418,7 @@ } ], "meta": { - "version": 1 + "version": 2 }, "net_colors": null }, diff --git a/qa/data/severities.kicad_pro b/qa/data/severities.kicad_pro index 2e29c1f73f..57a0ed2f18 100644 --- a/qa/data/severities.kicad_pro +++ b/qa/data/severities.kicad_pro @@ -71,13 +71,16 @@ "drill_out_of_range": "error", "duplicate_footprints": "warning", "extra_footprint": "warning", + "footprint_type_mismatch": "error", "hole_clearance": "error", "hole_near_hole": "error", "invalid_outline": "error", + "isolated_copper": "warning", "item_on_disabled_layer": "error", "items_not_allowed": "error", "length_out_of_range": "error", "lib_footprint_issues": "ignore", + "lib_footprint_mismatch": "error", "malformed_courtyard": "error", "microvia_drill_out_of_range": "error", "missing_courtyard": "ignore", @@ -87,6 +90,7 @@ "padstack": "error", "pth_inside_courtyard": "ignore", "shorting_items": "error", + "silk_edge_clearance": "ignore", "silk_over_copper": "ignore", "silk_overlap": "warning", "skew_out_of_range": "error", @@ -94,6 +98,7 @@ "starved_thermal": "error", "text_height": "warning", "text_thickness": "warning", + "through_hole_pad_without_hole": "error", "too_many_vias": "error", "track_dangling": "ignore", "track_width": "error", @@ -101,7 +106,6 @@ "unconnected_items": "error", "unresolved_variable": "error", "via_dangling": "warning", - "zone_has_empty_net": "error", "zones_intersect": "error" }, "rules": { @@ -126,6 +130,46 @@ "solder_mask_to_copper_clearance": 0.0, "use_height_for_length_calcs": true }, + "teardrop_options": [ + { + "td_allow_use_two_tracks": true, + "td_curve_segcount": 5, + "td_on_pad_in_zone": false, + "td_onpadsmd": true, + "td_onroundshapesonly": false, + "td_ontrackend": false, + "td_onviapad": true + } + ], + "teardrop_parameters": [ + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_round_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_rect_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_track_end", + "td_width_to_size_filter_ratio": 0.9 + } + ], "track_widths": [ 0.0, 0.3, @@ -145,7 +189,8 @@ "zones_allow_external_fillets": false, "zones_use_no_outline": true }, - "layer_presets": [] + "layer_presets": [], + "viewports": [] }, "boards": [], "cvpcb": { @@ -331,7 +376,7 @@ "pinned_symbol_libs": [] }, "meta": { - "filename": "issue1358.kicad_pro", + "filename": "severities.kicad_pro", "version": 1 }, "net_settings": { @@ -355,7 +400,7 @@ } ], "meta": { - "version": 1 + "version": 2 }, "net_colors": null },