1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-06-28 22:42:01 +03: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:
Werner Almesberger 2012-05-31 10:42:57 -03:00
parent b0ed4364dc
commit 52e58cccbe
2 changed files with 5 additions and 5 deletions

View File

@ -13,10 +13,10 @@
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
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)"
fi
done

View File

@ -36,7 +36,7 @@ tst_fail "hierarchy: name set field (incorrect name)" <<EOF
EOF
expect <<EOF
file-h:2: unknown name set "def"
h:2: unknown name set "def"
EOF
#------------------------------------------------------------------------------
@ -56,7 +56,7 @@ tst_fail "hierarchy: absolute value field (omit type name)" <<EOF
EOF
expect <<EOF
file-h:1: syntax error
h:1: syntax error
EOF
#------------------------------------------------------------------------------
@ -76,7 +76,7 @@ tst_fail "hierarchy: relative value field (incorrect name)" <<EOF
EOF
expect <<EOF
file-h:1: unknown field "Z"
h:1: unknown field "Z"
EOF
###############################################################################