Allow a specific benchmark run to be requested, rather than all of them
[xfstests-dev.git] / tools / auto-qa
index aec89afbb5dbe844b77a221a149bf45ffae9d679..d7541bc40265b29e1f40fd6a0ab266f8dc82a79e 100755 (executable)
@@ -486,8 +486,10 @@ do
        bench-run)
            cd $QADIR
            
+           # $BENCHMARK is typically unset, which equates to "all"
+           #
            _log "          *** run benchmarks"
-           _sudo ./bench $BENCH_PASSES `id -nu && id -ng` \
+           _sudo ./bench $BENCH_PASSES `id -nu && id -ng` $BENCHMARK \
                        || _fail "          !!! failed to run benchmarks"
 
            _log ""