metadata: name: ebizzy version: "1.0" format: "Lava-Test-Shell Test Definition 1.0" description: "Running ebizzy tool" maintainer: - lisa.nguyen@linaro.org os: - ubuntu scope: - functional devices: - beaglebone-black - panda - panda-es - vexpress-a9 - vexpress-tc2 install: git-repos: - url: https://github.com/linux-test-project/ltp.git deps: - python-numpy - coreutils steps: - cd ltp/utils/benchmark/ebizzy-0.3/ - chmod +x configure - ./configure - sed -i 's/lpthread/pthread/' Makefile - make params: THREADS: 2 TIME: 20 REPEAT: 50 run: steps: - CURRENT_DIR=$(pwd) - cd ltp/utils/benchmark/ebizzy-0.3/ - i=1 - while [ $i -le $REPEAT ]; do ./ebizzy -t $THREADS -S $TIME | tee -a ebizzy.log; true $(( i++ )); done - cp ebizzy.log ebizzy-real.log - cp ebizzy.log ebizzy-user.log - cp ebizzy.log ebizzy-sys.log - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-real.log "real" "Second" - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-user.log "user" "Second" - $CURRENT_DIR/common/scripts/min_max_avg_parse.py ebizzy-sys.log "sys" "Second" parse: pattern: "^(?P\\w+):\\s*(?P[0-9\\.]+)\\s+(?P\\w+)\\s+(?P\\w+)"