Salvador E. Tropea
45ecb1d02a
Added a mechanism to specify suboptions.
...
Now the legacy drill.map.type and drill.report.filename are specified in this
way.
The BaseOutput class now inherits from Optionable.
Suboptions are just Optionable classes.
Also: added traceback print when an error is reported and we are in debug mode.
2020-07-05 12:40:57 -03:00
Salvador E. Tropea
1ca21efe94
Now the docstring for string options can specify a list of allowed values
...
This reduces the number of setters/getters we need to write.
On the other side the time to validate the YAML is increased.
2020-07-02 09:25:06 -03:00
Salvador E. Tropea
3a1d5d0652
Added pen_number and pen_speed HPGL options
2020-07-01 11:11:33 -03:00
Salvador E. Tropea
be8339ddff
Added tests to cover all the out_any_drill.py errors.
2020-06-30 22:57:59 -03:00
Salvador E. Tropea
42d1f14056
Now layers are solved when we really need it.
...
So we can do some operations (like --list) without loading the board.
Also: now the names for the layers are asked to pcbnew classes (not from file)
2020-06-29 12:55:02 -03:00
Salvador E. Tropea
19023ef4e6
Added tests to cover 100% of kiplot/config_reader.py
...
Mostly parser errors.
2020-06-19 23:38:09 -03:00
Salvador E. Tropea
6ed99d8515
Tests adapted to the new error message strings.
2020-06-19 16:00:16 -03:00
Salvador E. Tropea
fc19d2c6c0
Added tests for errors parsing STEP files generation.
2020-06-15 13:40:30 -03:00
Salvador E. Tropea
979b3bc0d7
Added a test for missing output.layers
2020-05-26 13:52:04 -03:00
Salvador E. Tropea
8aaa07c867
Added test for missing output.options
2020-05-26 13:40:16 -03:00
Salvador E. Tropea
e3cddb280a
Added tests for missing output.name and output.type.
2020-05-26 13:36:49 -03:00
Salvador E. Tropea
31e461ca9c
Added 3 tests for wrong layer names.
2020-05-26 13:27:49 -03:00
Salvador E. Tropea
4e14891979
Adde test for wrong drill map type
2020-05-26 13:09:16 -03:00
Salvador E. Tropea
eb77e20f80
Added test for missing drill map type
2020-05-26 13:04:56 -03:00
Salvador E. Tropea
64de376c2b
Added test for wrong version in config file.
2020-05-26 12:53:24 -03:00
Salvador E. Tropea
92df488ddb
Added test for no kiplot.version in config.
2020-05-26 12:50:52 -03:00