Allow a specific benchmark run to be requested, rather than all of them
authorNathan Scott <nathans@sgi.com>
Sun, 6 Oct 2002 12:18:43 +0000 (12:18 +0000)
committerNathan Scott <nathans@sgi.com>
Sun, 6 Oct 2002 12:18:43 +0000 (12:18 +0000)
(that is still the default though).

tools/auto-qa

index aec89af..d7541bc 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 ""