Enable lmbench-write&lmbench-read in benchmark ci

This commit is contained in:
Shaowei Song 2024-07-30 08:11:41 +00:00 committed by Tate, Hongliang Tian
parent bdabea09c2
commit 6847181553
2 changed files with 3 additions and 7 deletions

View File

@ -32,13 +32,8 @@ jobs:
- lmbench-fstat
- lmbench-open
- lmbench-stat
# TODO: The following benchmarks are disabled now for some reasons.
#
# In Linux, lack of /dev/null device
# - lmbench-write
# In Linux, lack of /dev/zero device
# - lmbench-read
#
- lmbench-write
- lmbench-read
# Signal-related benchmarks
- lmbench-signal
fail-fast: false

View File

@ -21,6 +21,7 @@ generate_entrypoint_script() {
local benchmark="$1"
local init_script=$(cat <<EOF
#!/bin/sh
mount -t devtmpfs devtmpfs /dev
echo "Running ${benchmark}"
chmod +x /benchmark/${benchmark}/run.sh