mirror of
https://github.com/YosysHQ/sby.git
synced 2025-11-01 21:37:52 +00:00
Add jsonl status format
Replace `--statuscsv` and `--livecsv` with `--statusfmt <fmt>` and `--live <fmt` respectively. Currently supports both csv and jsonl. In the case of `--live`, updates can be printed in multiple formats, while `--statusfmt` only supports one at a time.
This commit is contained in:
parent
ac120cee92
commit
3bf5be0637
5 changed files with 36 additions and 33 deletions
|
|
@ -3,7 +3,7 @@ set -e
|
|||
python3 $SBY_MAIN -f $SBY_FILE $TASK
|
||||
|
||||
STATUS_CSV=${WORKDIR}/status.csv
|
||||
python3 $SBY_MAIN -f $SBY_FILE $TASK --statuscsv --latest | tee $STATUS_CSV
|
||||
python3 $SBY_MAIN -f $SBY_FILE $TASK --statusfmt csv --latest | tee $STATUS_CSV
|
||||
|
||||
if [[ $TASK =~ "_cover" ]]; then
|
||||
wc -l $STATUS_CSV | grep -q '6'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue