mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 14:17:30 +02:00
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.
This commit is contained in:
parent
b0ed4364dc
commit
52e58cccbe
@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
run_boom()
|
run_boom()
|
||||||
{
|
{
|
||||||
args="-N file-h <(sed -n '/^!-/q;p' _in)"
|
args="-N h <(sed -n '/^!-/q;p' _in)"
|
||||||
for n in c i x p s b X; do
|
for n in c i x p s b X; do
|
||||||
if grep ^!-$n _in >/dev/null; then
|
if grep ^!-$n _in >/dev/null; then
|
||||||
args="$args -N file-$n"
|
args="$args -N $n"
|
||||||
args="$args -$n <(sed -n '1,/^!-$n/d;/^!-/q;p' _in)"
|
args="$args -$n <(sed -n '1,/^!-$n/d;/^!-/q;p' _in)"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -36,7 +36,7 @@ tst_fail "hierarchy: name set field (incorrect name)" <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
expect <<EOF
|
expect <<EOF
|
||||||
file-h:2: unknown name set "def"
|
h:2: unknown name set "def"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -56,7 +56,7 @@ tst_fail "hierarchy: absolute value field (omit type name)" <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
expect <<EOF
|
expect <<EOF
|
||||||
file-h:1: syntax error
|
h:1: syntax error
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
@ -76,7 +76,7 @@ tst_fail "hierarchy: relative value field (incorrect name)" <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
expect <<EOF
|
expect <<EOF
|
||||||
file-h:1: unknown field "Z"
|
h:1: unknown field "Z"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user