mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-23 01:51:33 +02:00
b2/test/Common: support multiple files of the same kind (!-c1, !-c2, etc.)
This commit is contained in:
parent
f09e4b21fa
commit
69701f4d14
@ -15,11 +15,14 @@ run_boom()
|
|||||||
{
|
{
|
||||||
args="-N 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
|
for m in "" 1 2 3; do
|
||||||
args="$args -N $n"
|
if grep ^!-$n$m\$ _in >/dev/null; then
|
||||||
args="$args -$n <(sed -n '1,/^!-$n/d;/^!-/q;p' _in)"
|
args="$args -N $n$m"
|
||||||
|
args="$args -$n \
|
||||||
|
<(sed -n '1,/^!-$n$m/d;/^!-/q;p' _in)"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
done
|
||||||
eval $VALGRIND ../boom "$args" "$@"
|
eval $VALGRIND ../boom "$args" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user