[Test] Fixed drc filters tests cases
- Added silk_over_copper exclusion - Skipped test_drc_filter_2 for KiCad 5 (is for KiCad 6)
This commit is contained in:
parent
d1894e5097
commit
75afab0d40
|
|
@ -51,7 +51,8 @@
|
|||
"diff_pair_dimensions": [],
|
||||
"drc_exclusions": [
|
||||
"clearance|176385001|79614999|7e023245-2c2b-4e2b-bfb9-5d35176e88f2|666713b0-70f4-42df-8761-f65bc212d03b",
|
||||
"invalid_outline|165100000|80645000|e6d8b5bb-6f41-4222-9a89-b8a6280d0752|00000000-0000-0000-0000-000000000000"
|
||||
"invalid_outline|165100000|80645000|e6d8b5bb-6f41-4222-9a89-b8a6280d0752|00000000-0000-0000-0000-000000000000",
|
||||
"silk_over_copper|153440000|84620000|3f5fe6b7-98fc-4d3e-9567-f9f7202d1455|f4f99e3d-7269-4f6a-a759-16ad2a258779"
|
||||
],
|
||||
"meta": {
|
||||
"version": 2
|
||||
|
|
|
|||
|
|
@ -93,13 +93,14 @@ def test_drc_filter_1(test_dir):
|
|||
""" Test using internal filters """
|
||||
prj = 'fail-project'
|
||||
ctx = context.TestContext(test_dir, prj, 'drc_filter', '')
|
||||
ctx.run()
|
||||
ctx.run(extra_debug=True)
|
||||
# Check all outputs are there
|
||||
ctx.expect_out_file(prj+'-drc.txt')
|
||||
ctx.expect_out_file('kibot_errors.filter')
|
||||
ctx.clean_up(keep_project=True)
|
||||
|
||||
|
||||
@pytest.mark.skipif(context.ki5(), reason="KiCad 6 exclusions")
|
||||
def test_drc_filter_2(test_dir):
|
||||
""" Test using KiCad 6 exclusions """
|
||||
prj = 'fail-project'
|
||||
|
|
|
|||
Loading…
Reference in New Issue