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 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 ""