Commit Graph

122 Commits

Author SHA1 Message Date
Salvador E. Tropea 308c1fde6d [Tests] Ignore blank lines when comparing texts 2023-04-27 16:47:17 -03:00
Salvador E. Tropea a8fe973a31 [Tests] Define ki8() and take KiCad 8 stuff from kicad_8 dir 2023-04-13 11:19:29 -03:00
Salvador E. Tropea 3e40c83ed5 [Tests][Fixed][KiCad 8] Version detection 2023-04-06 19:43:52 -03:00
Salvador E. Tropea caefa818f3 [KiCad 8][Tests] Added references directory 2023-04-05 13:11:09 -03:00
Salvador E. Tropea 6eb631d5bd [Tests] Relaxed the test_render_3d_variant_1 test
- Having problems with new KiCad 6 images
2023-03-14 11:32:55 -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 423f5e3359 [Tests] Ignore convert errors for v7 PDFs
- Not sure if they are important
2023-02-24 19:46:12 -03:00
Salvador E. Tropea 09e38b47c9 [Tests] Added references for reports on KiCad 7
- Using unknown for the blind/microvias
2023-02-13 11:18:53 -03:00
Salvador E. Tropea cb58a72ebd [Tests] Adapted the KiCad config error tests to KiCad 7 2023-02-10 13:50:20 -03:00
Salvador E. Tropea 0b748e1d9d [Added] Basic support reading and writing v7 schematics 2023-02-10 09:12:59 -03:00
Salvador E. Tropea 9ae6304cf9 [Test] Added more information about retcode missmatch 2022-12-22 13:39:40 -03:00
Salvador E. Tropea 4437222eab [Tests] Added retry for the dummy web server when the address is in use 2022-11-30 18:41:43 -03:00
Salvador E. Tropea bedac3f5ec [Tests] Moved the stdout/err limit to 10 MB 2022-10-19 14:08:05 -03:00
Salvador E. Tropea b25e4c2d65 [Tests] Removed stdout/stderr read limit 2022-10-19 14:01:54 -03:00
Salvador E. Tropea 25d9806b47 [Diff] Added option to compare only the first schematic page.
- So now the default is to compare all the schematic pages.
Closes #319
2022-10-14 10:25:37 -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 80d69acaa6 [Tests] Avoid comparing the text in diffs when not Debian 2022-09-23 09:35:57 -03:00
Salvador E. Tropea aba02e083c [Tests] Look for coverage3 if python3-coverage isn't installed 2022-09-23 07:27:46 -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 488f2dcbc2 [Global options] Now the global `dir` option also applies to the preflights
- Can be disabled using `use_dir_for_preflights`.

Closes #292
2022-09-15 09:33:57 -03:00
Salvador E. Tropea 3684889060 [PCB Print] Changed the conversion strategy
- Now we can control the resolution
- Added option for this

Related to #259
2022-09-07 08:40:18 -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 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 d0caf5b8fd [Tests] Fixed problems when a test using git failed
- We didn't restore the working dir
2022-08-25 13:38:57 -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 9be29307be [Tests] Modified the logs to print a command that we can copy and paste 2022-08-11 09:27:39 -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 56f5176060 Fixed problems when running tests and a copy of KiBot is in ~/.local 2022-07-06 19:14:58 -03:00
Salvador E. Tropea 72a2c71ddb Added test for PCB paper size stuff 2022-06-12 12:17:23 -03:00
Salvador E. Tropea 78b55b916a Added missing changes to context.py 2022-06-10 20:37:17 -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 0227730e45 Added simple test for --quick-start 2022-06-08 13:29:37 -03:00
Salvador E. Tropea bb6e962f3d Internal BoM: Added customizable extra info after the title
Closes #199
2022-05-20 19:08:20 -03:00
Salvador E. Tropea b48a9e5ab0 Fixed (KiCad 6) traces not visible in 3D render
Fixes #177
2022-04-07 15:44:22 -03:00
Salvador E. Tropea 9e1f645c31 Fixed problems when using page layout files with relative paths.
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea bb0f86ae61 Fixed KiCad 6 text variables not expanded in `render_3d` output
- We must copy the project file to the temporal dir
Fixes #173
2022-04-02 12:14:56 -03:00
Salvador E. Tropea 788b7d6b83 Added support for buried/blind vias to the drill outputs
Fixes #166
2022-03-24 12:57:08 -03:00
Salvador E. Tropea f78b0c1f78 Adjusted references for KiCad 6.0.2. 2022-03-08 12:39:05 -03:00
Salvador E. Tropea 338a0cc3d4 Fixed B007 Loop control variable 'i' not used within the loop body. 2022-02-17 19:10:47 -03:00
Salvador E. Tropea c8d131fe11 Fixed C416 Unnecessary list comprehension - rewrite using list(). 2022-02-17 16:32:16 -03:00
Salvador E. Tropea 6281a40335 Fixed spelling 2022-02-16 19:56:04 -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 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
Diego Capusotto 7e37d64bcc Added .kicad_prl removal during tests 2021-12-18 18:40:41 -03:00
Diego Capusotto 1b7d42397e Adapted the test_preflight tests to KiCad 6 2021-12-18 17:02:41 -03:00
Diego Capusotto 46378b992b Added some abstraction for the KiCad project file extension. 2021-12-18 11:13:58 -03:00
Diego Capusotto cf3720ccaa Added function to check for KiCad v5 to context.py 2021-12-17 18:22:19 -03:00
Salvador E. Tropea 3bdae8507a Added suppport for multiprojects to the internal KiCost.
- Also changes the KitSpace queries format to be more readable.
2021-05-25 18:02:22 -03:00