Commit Graph

171 Commits

Author SHA1 Message Date
Salvador E. Tropea f28540d9cc [Tests][Fixed] Quick Start test
- To include the project, now mandatory
2024-01-02 10:46:45 -03:00
Salvador E. Tropea 8f841fe996 [Test][KiCad 7.0.8] Avoid diff between KiCad 6 and 7 files
- 7.0.8 seems to apply some adjust to v6 files
2023-10-18 10:26:48 -03:00
Salvador E. Tropea 9915bbd7ae [Help] Small fixes
- To keep the output similar to previous behavior
- Also adapted some tests to new markup
2023-08-29 09:45:17 -03:00
Salvador E. Tropea d24505353b [Tests][Fixed] Tolerate F.Adhes in comments 2023-06-12 09:51:24 -03:00
Salvador E. Tropea 7a7beff556 [Diff] Changed repo protection to worktree mechanism
- As suggested by @matthijskooijman on #443
- This is cleaner than trying to use stash push/pop
- The old method is available
2023-06-06 12:53:19 -03:00
Salvador E. Tropea 336a5521a6 [Tests] Also disabled panelize compare for non-Debian 2023-06-01 11:05:36 -03:00
Salvador E. Tropea 1ee4182078 [Tests] Disabled some tests when using Ubuntu
- KiCad still say v7.0.5
- Big differences for these tests
2023-06-01 09:26:42 -03:00
Salvador E. Tropea 5d99e8c2cd [Fixed][Tests] Name of the silk screen layers for KiCad 5 2023-05-24 12:43:44 -03:00
Salvador E. Tropea 281ed3be7e [Imports][Added] Allow to define @TAGS@ values during import
- Also added defaults
- BTW: disabled the YAML lint crap that insists in checking excluded
  files
2023-05-24 09:39:06 -03:00
Salvador E. Tropea e7cde1164c [Diff][Fixed] Assumption that all tags are in the trunk
- As stated by @matthijskooijman in
  91ffb04661c40102bfb856669039f0825ecc6883#r113724588 comment
  using --tags isn't necessary and includes *all* tags
- The code also assumed nothing was added before the "tag: "
  label, but this isn't true if the HEAD is tagged.
2023-05-17 10:53:43 -03:00
Salvador E. Tropea 0ffca702d7 [Tests] Cleaner mechanism for test_diff_file_sch_1
- Taking advantage of -E option
- So we avoid comparing the v7 file with the v6 file
2023-05-17 09:40:08 -03:00
Salvador E. Tropea 27c6d91e6e [Tests] Don't run import_7 in parallel 2023-05-16 10:53:05 -03:00
Salvador E. Tropea 61a8fe7885 [Filters][Added] `value_split`
- To extract information from the Value field and put it in separated
  fields. I.e. tolerance, voltage, etc.
2023-05-03 14:09:35 -03:00
Salvador E. Tropea 118864e851 [Tests] Added more tolerance to include 7.0.2
- Without changing the references
- test_pcb_print_simple_1
- test_panelize_1
2023-04-17 13:46:59 -03:00
Salvador E. Tropea e708aee42d [Tests][Added] Test for netclass flags 2023-04-15 20:02:13 -03:00
Salvador E. Tropea 6feddd06a5 [Added] Mechanism to install fonts and colors 2023-04-04 13:49:21 -03:00
Salvador E. Tropea e27753a8d6 [Tests] Added KiKit tests
- stencil 3D, steel stencil and panel
- Bumped dependency to 1.3.0, needed for KiCad v7
  A patched version is needed ...
2023-03-03 10:53:23 -03:00
Salvador E. Tropea 3d1e5389c8 [Tests] Ignore footprint missmatches in test_import_7 2023-02-24 18:47:19 -03:00
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