Commit Graph

536 Commits

Author SHA1 Message Date
Salvador E. Tropea 24ba23d203 Separated YAML tests that makes reference to SCH files
- Avoiding KiCad 5 and 6 mixes
2022-01-10 20:48:11 -03:00
Salvador E. Tropea 8a4064a544 Added KiCad 6 native symbols default dir 2022-01-07 17:49:33 -03:00
Salvador E. Tropea 960f5565f0 Fixed modules load order in kiconf_init.py
- Previous seems to fail in some environments
2022-01-07 17:33:57 -03:00
Salvador E. Tropea ed6733a8b8 Adapted the KiCad config error tests to KiCad 6. 2022-01-07 17:07:00 -03:00
Salvador E. Tropea 8f0701a1ad Updated KiCad 6 reference PDF/SVG for schematic variant test
- Added the drawing used to illustrate the bus_alias stuff
2022-01-07 13:11:27 -03:00
Salvador E. Tropea 0b58424f57 Fixed test_print_sch_svg_fail test for KiCad 6 (used .sch) 2022-01-07 13:04:45 -03:00
Salvador E. Tropea 792572149b Updated test_bom_ok
- The XML netlist was out of sync.
2022-01-07 12:58:09 -03:00
Salvador E. Tropea dadcd8a543 Added support for `bus_alias` [KiCad 6]
- Not documented in the file format
Closes #133
2022-01-07 12:01:17 -03:00
Salvador E. Tropea e2147f40ee Added fields update to the QR stuff
- Footprints are now virtual
- Fixed: Modules used the SCH text
- Fixed: Wrong KiCad 6 SCHs (not copied from bogus ones)
2022-01-06 14:25:09 -03:00
Salvador E. Tropea f1b46daf6c Added missing KiCad 6 test file for datasheet download 2022-01-06 14:18:07 -03:00
Salvador E. Tropea be59ee397e Added support for KiCad 6 to the `update_qr` preflight.
Related to #93
2022-01-04 16:52:12 -03:00
Salvador E. Tropea 7992fd9888 Added preflight option to update the QR codes.
- Needed for s-expression files
- Not working for KiCad 6 (bug in the Python API)
2022-01-04 10:21:59 -03:00
Salvador E. Tropea d0801d1e5d Fixed test_qr_lib_1
- Problems when running without X
- KiCad 5 vs 6 details
2022-01-03 12:55:26 -03:00
Salvador E. Tropea 5017f7e078 Added QR codes generation: symbols and footprints.
Related to #93
2022-01-03 12:35:33 -03:00
Salvador E. Tropea 64bfc4824d Added `--cli-order` option to generate outputs in arbitrary order.
- Also updated some output details in the README
Related to #106
2021-12-31 10:40:17 -03:00
Salvador E. Tropea 6d939bbdbe Added datasheets downloader
Closes #119
2021-12-29 15:20:54 -03:00
Salvador E. Tropea 3f822dd938 Better debug information when a test YAML is missing 2021-12-29 15:17:27 -03:00
Salvador E. Tropea 358fb4f816 Added message about problems with 3D Viewer on KiCad 6.0.0. 2021-12-28 18:04:20 -03:00
Salvador E. Tropea 1c3cc13004 Fixed flake8 errors 2021-12-28 18:04:04 -03:00
Salvador E. Tropea 057f8688da Added support for STEP generation using KiCad 6
- Uses a new KiAuto release (1.6.0) to workaround KiCad 6 limitation
- Updated the tests
- Updated the board samples, another "limitation" in KiCad 6 (no longer
  looks for .step files when the model is a .wrl)
2021-12-28 17:44:36 -03:00
Salvador E. Tropea 18272f8e06 Adjusted fuzzyness for the PcbDraw tests (v0.9.0 needs it) 2021-12-28 10:38:47 -03:00
Salvador E. Tropea 118c81120b Added KiCad v6 PCB for iBoM tests 2021-12-28 10:38:17 -03:00
Salvador E. Tropea 54332a8630 Added suypport for KiCad 6 sch extension to makefile tests 2021-12-27 15:21:41 -03:00
Salvador E. Tropea 4253368dd8 Added more information when a board test is missing
- During tests migration to a new KiCad
2021-12-27 15:20:52 -03:00
Salvador E. Tropea a72aac4e54 Added support for iBoM 2.4.1 2021-12-27 14:13:12 -03:00
Salvador E. Tropea 115c8b6913 Adapted YAML and SCH error tests to KiCad 6 RC1
- Most SCH test are disabled because this is another parser.
2021-12-27 14:10:02 -03:00
Diego Capusotto 3c4c2f0e15 Adapted the test_print_sch.py tests to KiCad v6 2021-12-21 13:07:02 -03:00
Diego Capusotto 367d80e96c Updated the print PDF reference tests for KiCad 6. 2021-12-18 18:41:09 -03:00
Diego Capusotto 7e37d64bcc Added .kicad_prl removal during tests 2021-12-18 18:40:41 -03:00
Diego Capusotto 89094aac9b Added board examples in KiCad 6 fromat for test_print_pdf 2021-12-18 18:36:22 -03:00
Diego Capusotto 1b7d42397e Adapted the test_preflight tests to KiCad 6 2021-12-18 17:02:41 -03:00
Diego Capusotto c20f8b9ddd Added empty title block to KiCad 6 deeper and sub-sheet examples
- Needed for the SCH replace test.
- In KiCad 6 the title block is optional in the file.
2021-12-18 16:56:53 -03:00
Diego Capusotto 60ab8356d9 Updated the XML netslist for KiCad 6 bom test 2021-12-18 16:56:05 -03:00
Diego Capusotto 82a62f29ce Added board tests in KiCad 6 format for test_preflight 2021-12-18 16:54:56 -03:00
Diego Capusotto 46378b992b Added some abstraction for the KiCad project file extension. 2021-12-18 11:13:58 -03:00
Diego Capusotto d989857ac7 Removed temporal project left by out_step
Closes #124
2021-12-18 11:11:55 -03:00
Diego Capusotto cf3720ccaa Added function to check for KiCad v5 to context.py 2021-12-17 18:22:19 -03:00
Diego Capusotto dbf3776a94 Added more information when a position test fails
- Now we also compare using % 360 for angles
2021-12-17 18:21:20 -03:00
Diego Capusotto 092644264e Added the v6 versions of the board tests needed by test_position 2021-12-17 18:20:27 -03:00
Diego Capusotto 16fc6c1c71 Adapted to v6: Now KiCad always uses angles % 360 2021-12-17 18:19:28 -03:00
Diego Capusotto cb5b6690c0 Added the test files used by test_pdf.py 2021-12-17 17:29:30 -03:00
Diego Capusotto 58851d2532 Updated simple_2layer test board to v6 2021-12-17 17:28:54 -03:00
Diego Capusotto 0795b2d8f3 Adapted test_misc_2.py to v6 details 2021-12-17 17:22:18 -03:00
Diego Capusotto 915412c426 Adapted force_pcbnew_error.py to support KiCad nightly 2021-12-17 17:21:32 -03:00
Diego Capusotto 908c48b8c7 Updated v6 version of good-project (HPGL pen diameter changed) 2021-12-17 17:20:48 -03:00
Diego Capusotto c6ea908bdd Added v6 files needed for test_misc* tests 2021-12-17 17:20:16 -03:00
Diego Capusotto 9ab8e1f80a Updated the KiCad v6 version of the "bom" schematic
- Now has a title block used for the tests.
2021-12-17 17:04:57 -03:00
Diego Capusotto bed617f72f Added v6 versions of the files needed by test_kicost.py 2021-12-17 16:15:02 -03:00
Diego Capusotto 55c063bbab Copied the date for kibom-variant_kicost.xml test
- KiCost uses it
2021-12-17 16:14:18 -03:00
Diego Capusotto fc6ebb153b Added KiCad v6 versions of the files used by test_int_bom.py 2021-12-17 16:06:08 -03:00