Commit Graph

153 Commits

Author SHA1 Message Date
Salvador E. Tropea 7033dd849d [Tests][KiCad 7] Added code to make 3Rs pass DRC 2023-02-13 09:52:08 -03:00
Salvador E. Tropea c39d21f3cf [Global Options] Added field_lcsc_part: to select the LCSC/JLCPCB part field 2023-01-28 17:59:23 -03:00
Salvador E. Tropea ac14910505 [Tests] Avoid caching bogus 3D models in copy_file tests 2023-01-28 11:55:27 -03:00
Salvador E. Tropea 8506fb78db [Report][Fixed] Computed size
- When using circles and some arcs in the PCB edge

Closes #375
2023-01-25 11:05:01 -03:00
Salvador E. Tropea 638dcdf970 [Tests] Adjusted unknown output messages 2023-01-04 12:35:26 -03:00
Salvador E. Tropea 5a5967c6b3 [Added] Support for internal imports
- A mechanism to implement templates
- Also fixed some groups import issues
2023-01-04 11:39:48 -03:00
Salvador E. Tropea 7be6a5a7f4 [Tests] Marked more stuff as slow
- To avoid collisions
2023-01-03 14:04:03 -03:00
Salvador E. Tropea 1e63ec66c5 [Sub-PCBs][Test] Enabled KiCad 5 tests
- Fixed new drill coordinates in test
- Renamed some YAML files
2022-12-28 11:37:56 -03:00
Salvador E. Tropea 5ecbbc84fd [Tests] Added sub-PCB test for PCB Variant and PcbDraw 2022-12-22 10:15:21 -03:00
Salvador E. Tropea 0590555350 [Tests][Fixed] QR Lib test
- The transparency interferes with zbarimg
- A side effect of almost invisible text in PDF
2022-11-23 19:00:47 -03:00
Salvador E. Tropea eee7b5d75b [Test][Fixed] test_diff_git_4 needs eeschema 2022-11-07 12:51:39 -03:00
Salvador E. Tropea c3f426a1d5 [Diff][Fixed] Problems when missing file from repo
- When comparing to a repo point where the PCB/SCH didn't exist yet.
Closes #323
2022-11-05 14:37:19 -03:00
Salvador E. Tropea 838129e69c [PcbDraw] Embedded the PcbDraw.plot code
- Now PcbDraw is not a dependency of out_pcbdraw.py
2022-10-17 12:58:06 -03:00
Salvador E. Tropea 1b597043f5 [Tests] Added same tollerance to all diff checks 2022-09-23 09:49:53 -03:00
Salvador E. Tropea 8392f468ae [Tests] Added some tollerance to img compare for non Debian 2022-09-23 09:43:57 -03:00
Salvador E. Tropea b989d1aaa3 [Tests] Fixed condition in last patch 2022-09-23 09:39:54 -03:00
Salvador E. Tropea 80d69acaa6 [Tests] Avoid comparing the text in diffs when not Debian 2022-09-23 09:35:57 -03:00
Salvador E. Tropea 82229e126d [Copy_Files] Made 3D models use the project path as base
- To avoid problems when KiCad is running from other place
2022-09-21 08:00:58 -03:00
Salvador E. Tropea e2fdf87d6b [Copy_Files] Now you can copy the 3D models
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea 877695378c [Fixed][Diff] Link name for git diffs
- Also adapted file test to new name
2022-09-09 13:30:27 -03:00
Salvador E. Tropea 6354ccdd7d [Diff] More changes to the link name
- Adding the tag to branches
2022-09-07 10:52:51 -03:00
Salvador E. Tropea fe9bf9e18b [Tests][Diff] Added link check 2022-09-06 09:18:10 -03:00
Salvador E. Tropea a4abb65ef3 [Diff] Added support for stashing submodules
Related to #265
2022-09-05 13:35:04 -03:00
Salvador E. Tropea 1ff365b572 [Tests] Moved the schematic diff to the slow tests 2022-09-02 07:48:04 -03:00
Salvador E. Tropea e9e4225b16 [Diff] Added option to copy instead of link
Closes #272
2022-09-02 07:16:16 -03:00
Salvador E. Tropea cabf14ec07 [Diff][Fixed] Always comparing the PCB
- Added regression test

Fixes #273
2022-09-02 07:03:57 -03:00
Salvador E. Tropea d8d8552883 [Diff] Now the %i is diff_pcb for the PCB and diff_sch for the sch
Related to #265
2022-09-01 14:13:28 -03:00
Salvador E. Tropea 6b344a094b [Diff][Fixed] Problems when no changes to stash
- "git stash push" always returns 0, even if nothing was stashed.
- But "git stash pop" returns 1 if nothing stashed.
- So now we check using "git stash list".

Related to #265
2022-08-31 07:50:09 -03:00
Salvador E. Tropea 5bf773a070 [Tests] Fixed problems in systems where git isn't configured 2022-08-25 13:38:23 -03:00
Salvador E. Tropea 464b72e8f1 New output to compute differences between PCBs and SCHs.
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00
Salvador E. Tropea 292105b6f8 [Tests] Added test for --dont-stop 2022-08-12 11:17:23 -03:00
Salvador E. Tropea c5a6d894c9 [DRC] Added Workaround for problems with DRC exclusions
- Global option: `drc_exclusions_workaround`
- KiCad bug [11562](https://gitlab.com/kicad/code/kicad/-/issues/11562)
Fixes INTI-CMNB/KiAuto#26
2022-08-10 14:01:32 -03:00
Salvador E. Tropea b5fc7e8c55 [Report] Fixed converted file wasn't stored at `dir`
Closes #238
2022-07-25 11:40:24 -03:00
Salvador E. Tropea 061ed0488e [Tests] Separated kicad2step, pcbnew and eeschema tests 2022-07-14 19:23:28 -03:00
Salvador E. Tropea 7f29fa1ecd [Tests] Fixed test_import_7
- It used a test case that didn't really pass the DRC
2022-07-13 09:25:02 -03:00
Salvador E. Tropea 73c72ecb62 [Tests] Fixed test_import_8
- Removed the ligth_control project
2022-07-12 14:03:17 -03:00
Salvador E. Tropea 3e05ab8b6a [Import] Preflights now can be imported
- Also fixed the filters and variants configuration, now delayed.

Fixes #221
Related to #181
2022-07-12 13:39:43 -03:00
Salvador E. Tropea 6c118b73fa Imports can be nested now
- import stuff that was imported ...
- Is the first approach, works for a simple case

Related to #218
2022-07-12 10:55:00 -03:00
Salvador E. Tropea 9532422984 [Tests] Run slow tests separately
- Also run the faster ones in parallel
- The slowest use KiCad, not sure how safe is to run it in parallel
- Changed mechanism of coverage collection to allow parallel execution
2022-07-09 16:33:09 -03:00
Salvador E. Tropea ff109a02ec Added test for category image in navigate results 2022-06-14 07:06:59 -03:00
Salvador E. Tropea e6cfe15dd0 PDFUnite: added warnings and errors about missing input files
- Also simplified the create_pdf.py error handling.
  - We are not catching I/O errors, they are fatal and should be
    catched at a higher level.
  - We already check the input files and create the output dir.
- Added tests
2022-06-13 08:56:25 -03:00
Salvador E. Tropea e0fa00f68b Added pdfunite test with source and external tool 2022-06-12 10:27:29 -03:00
Salvador E. Tropea 3a5042ea96 Simplified the tests 2022-06-10 19:55:13 -03:00
Salvador E. Tropea aefe54d770 Fixed missing argument in test_date_format_2 2022-06-10 17:39:24 -03:00
Salvador E. Tropea e15f18de2c Simplified the tests initialization
- Now output dirs are named after the test function
2022-06-10 14:01:56 -03:00
Salvador E. Tropea f1e7691a75 Added simple dependencies test 2022-06-09 10:56:36 -03:00
Salvador E. Tropea 0b8c4f1726 Added simple navigate_results test 2022-06-09 10:36:39 -03:00
Salvador E. Tropea baad162199 Added simple tests for netlist output (classic and IPC) 2022-06-08 13:48:34 -03:00
Salvador E. Tropea 0227730e45 Added simple test for --quick-start 2022-06-08 13:29:37 -03:00
Salvador E. Tropea 477c52affe Made __main__ show the same file names of detected files
- Also adapted the tests that looks for debug data about them
2022-04-26 12:15:34 -03:00