Commit Graph

963 Commits

Author SHA1 Message Date
Salvador E. Tropea 99dfbbd99d Use the full path for kibot in the makefile if not installed.
When we detect the run isn't from the system installation.
2021-02-10 19:47:15 -03:00
Salvador E. Tropea f744892810 Fixed: erc/drc not taking global.output pattern. 2021-02-10 16:51:17 -03:00
Salvador E. Tropea 7861f6efe6 Removed debug message about KiCad bug, now we are using a workaround. 2021-02-10 14:13:07 -03:00
Salvador E. Tropea 12bfa88677 Fixed the way we restore stderr after temporarily supressing it.
Now we don't mess with `sys.stderr` we just use `os.dup2` to restore it
from the copy.
2021-02-10 14:10:10 -03:00
Salvador E. Tropea 67cee9988a Added workaroud for KiCad printing wxWidgets "traits" errors. 2021-02-10 09:40:41 -03:00
Salvador E. Tropea f698e44642 Now we can load InteractiveHtmlBom even when installed only as plugin
Fixes #49
2021-02-08 15:37:01 -03:00
Salvador E. Tropea e31539e4b1 Added missing test config file. 2021-02-08 15:36:22 -03:00
Salvador E. Tropea ce0f22edce Adjusted some details about the time-out control
- Warning when detected pointing to use the global options
- Now pcbnmew_do/eeschema_do output is captured
- Warning when using floating value for kiauto_wait_start (no fail)
- A simple test for time-out
Fixes #48
2021-02-08 12:07:54 -03:00
Salvador E. Tropea 34e85d646c Added KiAuto time-out control (EXPERIMENTAL!!)
Related to #48
2021-02-06 20:48:34 -03:00
Salvador E. Tropea f6dac6ef13 Problems using internal names for drill maps in gerb_drill output.
Fixes #47
2021-02-06 12:55:02 -03:00
Salvador E. Tropea 880c9c8260 Fixed extra separator in references for merged BoMs. 2021-02-05 11:30:54 -03:00
Salvador E. Tropea 8352d3ef94 Splitted other example tables 2021-02-05 11:19:53 -03:00
Salvador E. Tropea e776aaa1c2 Removed empty lines in the merged table. 2021-02-05 11:16:15 -03:00
Salvador E. Tropea 175e437bf8 Splitted the merged table example. 2021-02-05 11:15:16 -03:00
Salvador E. Tropea ed80e37bb7 Updated the BoM consolidation example. 2021-02-05 11:12:40 -03:00
Salvador E. Tropea f35207d097 Fixed range references for merged BoMs 2021-02-05 11:08:14 -03:00
Salvador E. Tropea db3cb1998e Fixed stats for merged BoMs without ref_ids. 2021-02-05 11:00:54 -03:00
Salvador E. Tropea 9ae5bcc3a9 Converted CSV examples to markdown tables. 2021-02-05 10:33:15 -03:00
Salvador E. Tropea 8f38499031 Added BoM consolidation example. 2021-02-05 10:25:06 -03:00
Salvador E. Tropea 91b38fdb9f Fixed to allow BoM consolidation without `ref_id` 2021-02-05 10:24:35 -03:00
Salvador E. Tropea 2d338bada7 Removed dead code in macros.py 2021-02-04 16:38:38 -03:00
Salvador E. Tropea 536fa4708a Fixed get_components. 2021-02-04 16:25:59 -03:00
Salvador E. Tropea 437f922341 Moved coverage calls, why out_step is wrongly reported? 2021-02-04 16:20:57 -03:00
Salvador E. Tropea 41c667cb1f Added test for unknown prefix in units. 2021-02-04 16:17:34 -03:00
Salvador E. Tropea ae49289006 Removed dead code in v5_sch.py 2021-02-04 16:16:04 -03:00
Salvador E. Tropea 047fe53e1d Added tests for step and pdf_pcb_print command fails. 2021-02-04 16:09:50 -03:00
Salvador E. Tropea 0babc286af Modified the tests to cover the missing lines. 2021-02-04 13:40:14 -03:00
Salvador E. Tropea 2e780bd860 Fixed flake8 errors. 2021-02-04 13:11:36 -03:00
Salvador E. Tropea 9f2344ed4a Added tests for macros applied to stuff not currently used. 2021-02-04 13:06:44 -03:00
Salvador E. Tropea 685ab34c56 Added test for bogus argument passed to Layer.solve() 2021-02-04 12:00:17 -03:00
Salvador E. Tropea fa7fe0a5d6 Added test for undocumented plug-in in example generation. 2021-02-04 11:45:53 -03:00
Salvador E. Tropea fa7dde3008 Added test for undocumented filter. 2021-02-04 11:33:52 -03:00
Salvador E. Tropea dd28c63089 Added test for undocumented preflight. 2021-02-04 11:27:57 -03:00
Salvador E. Tropea e413cf0214 Added test for plug-in class without docstring. 2021-02-04 11:14:27 -03:00
Salvador E. Tropea 03a5a6d295 Fixed exception when a plug-in class doesn't have a docstring. 2021-02-04 11:13:40 -03:00
Salvador E. Tropea ba6787660c Added test for undocumented option. 2021-02-04 10:42:02 -03:00
Salvador E. Tropea 9807bcb13f Fixed exception on undocumented options. 2021-02-04 10:40:42 -03:00
Salvador E. Tropea cc19d12d60 Added test for KiCad config redirection. 2021-02-04 10:28:39 -03:00
Salvador E. Tropea f39024d23d Added test for plug-in that fails to generate its targets. 2021-02-04 10:06:48 -03:00
Salvador E. Tropea d97ca18590 Added test for rotation filter in the bottom side. 2021-02-03 17:13:12 -03:00
Salvador E. Tropea 2d4f73d822 Fixed interaction between tests testing eeschema_do version 2021-02-03 16:07:36 -03:00
Salvador E. Tropea 2a93f97abd Removed no longer needed import 2021-02-03 16:07:12 -03:00
Salvador E. Tropea afaecfe570 Added tests for run_e/drc fails (mocked) 2021-02-03 15:16:42 -03:00
Salvador E. Tropea 9a703186de Removed useless test in out_step.
The undo_3d_models can't be empty when calling undo_3d_models_rename.
In the worst case won't do any damage doing the loop.
2021-02-03 12:54:05 -03:00
Salvador E. Tropea 48b1eafafc Added test for debug stats in BoM output. 2021-02-03 12:49:57 -03:00
Salvador E. Tropea 323dad144c Added test for no sch loaded in KiBoM output. 2021-02-03 12:47:07 -03:00
Salvador E. Tropea d1ef2c8cbf Added style dependency in pcbdraw makefile target.
- Also now we make sure the style is an existent file.
2021-02-03 12:41:30 -03:00
Salvador E. Tropea 80df7d76c7 Added tests to fully cover config_reader.
- Output comment as None
- Empty output name
- Empty variant type
2021-02-03 12:31:39 -03:00
Salvador E. Tropea d12837d5ba Added tests for missing out_bom cases.
- No file in aggregate
- Missing file in aggregate
- Sch not loaded
2021-02-03 12:16:55 -03:00
Salvador E. Tropea 602f0dd261 Added a STEP test using a model that is inside our tree.
Ensures all models will be found.
2021-02-03 11:26:37 -03:00