1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 20:45:32 +02:00
Commit Graph

27 Commits

Author SHA1 Message Date
Werner Almesberger
7f24ef0e5b b2/test/subesc: more tests; also for values; add explanation of escaping 2012-06-03 23:14:28 -03:00
Werner Almesberger
a52247294b b2/test/{subend,subign}: test end/ignore in substitutions 2012-06-03 21:22:16 -03:00
Werner Almesberger
ed8df3f94e b2/test/sub{break,cont}: code after named and unnamed jump is handled differently
Now we handle both code paths. Should probably unify the diagnostic some
day, too.
2012-06-03 21:17:31 -03:00
Werner Almesberger
fa20078840 b2/test/subbreak: test "break" in substitutions 2012-06-03 21:17:02 -03:00
Werner Almesberger
ddbf80b542 b2/: handle attempts to break/continue (in substitutions) without a block 2012-06-03 20:54:08 -03:00
Werner Almesberger
e56a71e914 b2/test/subcont: test "continue" in substitutions 2012-06-03 13:32:13 -03:00
Werner Almesberger
ee0a2a41fa b2/: add "print VAR" command in substitutions (for debugging/tracing) 2012-06-03 13:15:31 -03:00
Werner Almesberger
3f4a06843a b2/test/subesc: test regexp escaping in substitutions 2012-06-03 11:39:40 -03:00
Werner Almesberger
4a586fc44f b2/test/Common: also provide empty hierarchy if the input is empty; name the file 2012-06-03 10:21:47 -03:00
Werner Almesberger
12b21f032c b2/test/: more substitution tests
Total number of tests is now 109.
2012-06-03 09:51:20 -03:00
Werner Almesberger
fb7b2461a5 b2/test/: add first set of substitution tests 2012-06-03 02:10:12 -03:00
Werner Almesberger
d1593b6681 b2/: insert a virtual empty hierarchy if test input starts with other file
Also updated the regression tests that explicitly provided an empty
hierarchy.
2012-06-02 20:42:49 -03:00
Werner Almesberger
cc5d9a9d58 b2/test/inv: inventory database test 2012-06-02 14:33:54 -03:00
Werner Almesberger
e62bb067f7 b2/test/Common (run_boom): place inventory after parts and currency
Otherwise, currency definitions would be used before they're read.
2012-06-02 13:58:33 -03:00
Werner Almesberger
4184c01ee2 b2/test/prov: provider database test 2012-06-02 07:56:50 -03:00
Werner Almesberger
0ba0abb74b b2/test/curr: currency exchange test 2012-06-02 07:48:09 -03:00
Werner Almesberger
dd727b1a8c b2/test/char: part characteristics database test 2012-06-02 05:55:28 -03:00
Werner Almesberger
69701f4d14 b2/test/Common: support multiple files of the same kind (!-c1, !-c2, etc.) 2012-06-02 05:50:07 -03:00
Werner Almesberger
3ebac688bd b2/: new option -dCHARS to dump specific db; replaces use of -v 2012-06-02 05:24:50 -03:00
Werner Almesberger
6d4c71586d b2/test/hierred: test for redundant conditions 2012-06-01 14:52:32 -03:00
Werner Almesberger
9cafe23fb8 b2/: simplified and corrected logic behind relop_redundant
We now generate the operator map algorithmically, which is a bit less
classy than solving the logical equations, but easier to get right.

Also renamed the somewhat vague "redundant" to "unreachable".
2012-06-01 14:52:12 -03:00
Werner Almesberger
d48a9030e0 b2/: introduce dimensionless values (field syntax: name=##) 2012-06-01 00:20:31 -03:00
Werner Almesberger
e66267faa6 b2/test/hierrul: field rules in hierarchy 2012-05-31 15:56:54 -03:00
Werner Almesberger
52e58cccbe b2/test/Common: drop that tacky "file-" prefix in pseudo-filenames
Just a plain "h", "c", etc., will do nicely. Also updated the one test
set we have so far.
2012-05-31 15:35:25 -03:00
Werner Almesberger
b0ed4364dc b2/: new option -v to control verbosity level; move hierarchy dump from parser to boom.c 2012-05-31 15:35:21 -03:00
Werner Almesberger
ef60e92699 b2/test/hierfld: field definitions in hierarchy 2012-05-31 15:35:17 -03:00
Werner Almesberger
88ad25e42c add regression test infrastructure 2012-05-30 12:12:43 -03:00