mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
b2/: new option -dCHARS to dump specific db; replaces use of -v
This commit is contained in:
@@ -20,7 +20,7 @@ run_boom()
|
||||
args="$args -$n <(sed -n '1,/^!-$n/d;/^!-/q;p' _in)"
|
||||
fi
|
||||
done
|
||||
eval $VALGRIND ../boom -v "$args" "$@"
|
||||
eval $VALGRIND ../boom "$args" "$@"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
###############################################################################
|
||||
|
||||
tst "hierarchy: name field" <<EOF
|
||||
tst "hierarchy: name field" -dh <<EOF
|
||||
{ X=* };
|
||||
EOF
|
||||
|
||||
@@ -19,7 +19,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: name set field (correct name)" <<EOF
|
||||
tst "hierarchy: name set field (correct name)" -dh <<EOF
|
||||
<abc> = A<B<C;
|
||||
{ X=<abc> };
|
||||
EOF
|
||||
@@ -41,7 +41,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: absolute value field (with unit)" <<EOF
|
||||
tst "hierarchy: absolute value field (with unit)" -dh <<EOF
|
||||
{ X=#foo };
|
||||
EOF
|
||||
|
||||
@@ -51,7 +51,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: absolute value field (without unit)" <<EOF
|
||||
tst "hierarchy: absolute value field (without unit)" -dh <<EOF
|
||||
{ X=## };
|
||||
EOF
|
||||
|
||||
@@ -71,7 +71,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value field (correct name)" <<EOF
|
||||
tst "hierarchy: relative value field (correct name)" -dh <<EOF
|
||||
{ X=#foo Y=%X };
|
||||
EOF
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
###############################################################################
|
||||
|
||||
tst "hierarchy: == 1 followed by == 2" <<EOF
|
||||
tst "hierarchy: == 1 followed by == 2" -dh <<EOF
|
||||
N=## {
|
||||
1: { X=* };
|
||||
2: { Y=* };
|
||||
@@ -19,7 +19,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: == 2 followed by unreachable == 2" <<EOF
|
||||
tst "hierarchy: == 2 followed by unreachable == 2" -dh <<EOF
|
||||
N=## {
|
||||
2: { X=* };
|
||||
2: { Y=* };
|
||||
@@ -36,7 +36,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: < 2 followed by < 3" <<EOF
|
||||
tst "hierarchy: < 2 followed by < 3" -dh <<EOF
|
||||
N=## {
|
||||
<2: { X=* };
|
||||
<3: { Y=* };
|
||||
@@ -52,7 +52,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: < 3 followed by unreachable < 2" <<EOF
|
||||
tst "hierarchy: < 3 followed by unreachable < 2" -dh <<EOF
|
||||
N=## {
|
||||
<3: { X=* };
|
||||
<2: { Y=* };
|
||||
@@ -69,7 +69,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: < 2 followed by <= 2" <<EOF
|
||||
tst "hierarchy: < 2 followed by <= 2" -dh <<EOF
|
||||
N=## {
|
||||
<2: { X=* };
|
||||
<=2: { Y=* };
|
||||
@@ -85,7 +85,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: <= 2 followed by unreachable < 2" <<EOF
|
||||
tst "hierarchy: <= 2 followed by unreachable < 2" -dh <<EOF
|
||||
N=## {
|
||||
<=2: { X=* };
|
||||
<2: { Y=* };
|
||||
@@ -102,7 +102,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: < 3 followed by > 1" <<EOF
|
||||
tst "hierarchy: < 3 followed by > 1" -dh <<EOF
|
||||
N=## {
|
||||
<3: { X=* };
|
||||
>1: { Y=* };
|
||||
@@ -118,7 +118,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: < 3 followed by predictable but reachable > 2" <<EOF
|
||||
tst "hierarchy: < 3 followed by predictable but reachable > 2" -dh <<EOF
|
||||
N=## {
|
||||
<3: { X=* };
|
||||
>2: { Y=* };
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
###############################################################################
|
||||
|
||||
tst "hierarchy: name rule" <<EOF
|
||||
tst "hierarchy: name rule" -dh <<EOF
|
||||
Animal=* {
|
||||
Cat: { X=* };
|
||||
Dog: { Y=* };
|
||||
@@ -25,7 +25,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: name set rule" <<EOF
|
||||
tst "hierarchy: name set rule" -dh <<EOF
|
||||
<predation> = mouse<cat<dog;
|
||||
p = <predation> {
|
||||
mouse: { X=* };
|
||||
@@ -59,7 +59,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: name set rule (duplicate entry)" <<EOF
|
||||
tst "hierarchy: name set rule (duplicate entry)" -dh <<EOF
|
||||
<predation> = mouse<cat<dog;
|
||||
p = <predation> {
|
||||
mouse: { X=* };
|
||||
@@ -79,7 +79,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: absolute value rule (with unit)" <<EOF
|
||||
tst "hierarchy: absolute value rule (with unit)" -dh <<EOF
|
||||
<predation> = mouse<cat<dog;
|
||||
N=#R {
|
||||
10R: { X=* };
|
||||
@@ -98,7 +98,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: absolute value rule (without unit)" <<EOF
|
||||
tst "hierarchy: absolute value rule (without unit)" -dh <<EOF
|
||||
<predation> = mouse<cat<dog;
|
||||
N=## {
|
||||
2: { X=* };
|
||||
@@ -143,7 +143,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (percent)" <<EOF
|
||||
tst "hierarchy: relative value rule (percent)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
1%: { X=* };
|
||||
@@ -161,7 +161,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (absolute, with unit)" <<EOF
|
||||
tst "hierarchy: relative value rule (absolute, with unit)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
1R: { X=* };
|
||||
@@ -179,7 +179,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (absolute, without unit)" <<EOF
|
||||
tst "hierarchy: relative value rule (absolute, without unit)" -dh <<EOF
|
||||
{ V=## }
|
||||
TOL=%V {
|
||||
1: { X=* };
|
||||
@@ -197,7 +197,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (plus/minus percent)" <<EOF
|
||||
tst "hierarchy: relative value rule (plus/minus percent)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
+10/-20%: { X=* };
|
||||
@@ -213,7 +213,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (minus/plus percent)" <<EOF
|
||||
tst "hierarchy: relative value rule (minus/plus percent)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
-10/+20%: { X=* };
|
||||
@@ -229,7 +229,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (implicit minus/plus percent)" <<EOF
|
||||
tst "hierarchy: relative value rule (implicit minus/plus percent)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
10/20%: { X=* };
|
||||
@@ -245,7 +245,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (plus/minus absolute)" <<EOF
|
||||
tst "hierarchy: relative value rule (plus/minus absolute)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
+10/-20R: { X=* };
|
||||
@@ -261,7 +261,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (minus/plus absolute)" <<EOF
|
||||
tst "hierarchy: relative value rule (minus/plus absolute)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
-5/+10R: { X=* };
|
||||
@@ -277,7 +277,7 @@ EOF
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
tst "hierarchy: relative value rule (implicit minus/plus absolute)" <<EOF
|
||||
tst "hierarchy: relative value rule (implicit minus/plus absolute)" -dh <<EOF
|
||||
{ V=#R }
|
||||
TOL=%V {
|
||||
0/10R: { X=* };
|
||||
|
||||
Reference in New Issue
Block a user