Fix gauge benchmark name matching

This commit is contained in:
Harendra Kumar 2021-06-07 19:11:12 +05:30 committed by Harendra Kumar
parent 3cd8e9bddf
commit cc198c5b8d

View File

@ -162,7 +162,6 @@ invoke_gauge () {
# keep only benchmark names with shortest prefix e.g. "a/b/c" and "a/b", we
# should only keep "a/b" otherwise benchmarks will run multiple times. why?
$target_prog -l \
| grep "^$target_name" \
| grep "^$MATCH" \
| while read -r name; \
do bin/bench-exec-one.sh "$name" "${GAUGE_ARGS[@]}"; done