chore: fix "tests/compiler//sum binary sizes" benchmark (#11444)
The bench script expected no output on stdout from `compile.sh`, which was not always the case. Now, it separates the compilation and size measurement steps.
This commit is contained in:
parent
5e165e358c
commit
ca23ed0c17
1 changed files with 2 additions and 1 deletions
|
|
@ -98,8 +98,9 @@
|
|||
cwd: ../compiler/
|
||||
cmd: |
|
||||
set -eu
|
||||
for f in *.lean; do ../bench/compile.sh $f > /dev/null; done
|
||||
printf 'sum binary sizes: '
|
||||
for f in *.lean; do ../bench/compile.sh $f; printf '%s\0' "$f.out"; done | wc -c --files0-from=- | tail -1 | cut -d' ' -f 1
|
||||
for f in *.lean; do printf '%s\0' "$f.out"; done | wc -c --files0-from=- | tail -1 | cut -d' ' -f 1
|
||||
max_runs: 1
|
||||
runner: output
|
||||
- attributes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue