mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-22 21:32:29 +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,10 +15,13 @@ run_boom()
|
||||
{
|
||||
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 $n"
|
||||
args="$args -$n <(sed -n '1,/^!-$n/d;/^!-/q;p' _in)"
|
||||
fi
|
||||
for m in "" 1 2 3; do
|
||||
if grep ^!-$n$m\$ _in >/dev/null; then
|
||||
args="$args -N $n$m"
|
||||
args="$args -$n \
|
||||
<(sed -n '1,/^!-$n$m/d;/^!-/q;p' _in)"
|
||||
fi
|
||||
done
|
||||
done
|
||||
eval $VALGRIND ../boom "$args" "$@"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user