1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

b2/: insert a virtual empty hierarchy if test input starts with other file

Also updated the regression tests that explicitly provided an empty
hierarchy.
This commit is contained in:
Werner Almesberger
2012-06-02 20:42:49 -03:00
parent 3027daca18
commit d1593b6681
4 changed files with 6 additions and 14 deletions

View File

@@ -4,7 +4,6 @@
###############################################################################
tst "inventory: one item" <<EOF
; /* no hierarchy */
!-x
USD
!-i
@@ -20,7 +19,6 @@ EOF
#------------------------------------------------------------------------------
tst "inventory: two items" <<EOF
; /* no hierarchy */
!-x
USD
!-i
@@ -38,7 +36,6 @@ EOF
#------------------------------------------------------------------------------
tst "inventory: two files" <<EOF
; /* no hierarchy */
!-x
USD
!-i1
@@ -57,7 +54,6 @@ EOF
#------------------------------------------------------------------------------
tst_fail "inventory: duplicate item" <<EOF
; /* no hierarchy */
!-x
USD
!-i
@@ -72,7 +68,6 @@ EOF
#------------------------------------------------------------------------------
tst_fail "inventory: unknown currency" <<EOF
; /* no hierarchy */
!-i
FOO R101X-T TR 1234 3000 EUR 0 3000 10.4
EOF