diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-01 15:48:16 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-03 11:50:42 -0400 |
commit | aae3418dbe650d34e43caa67b6f14c4e0ffc2b34 (patch) | |
tree | c659fb92545f362c92c7bd3da16f380716c5f203 /phoronix-test-suite | |
parent | dba886229e48912957d36943ca6d8dd70467dee8 (diff) | |
download | phoronix-test-suite-upstream-aae3418dbe650d34e43caa67b6f14c4e0ffc2b34.tar.gz phoronix-test-suite-upstream-aae3418dbe650d34e43caa67b6f14c4e0ffc2b34.tar.xz phoronix-test-suite-upstream-aae3418dbe650d34e43caa67b6f14c4e0ffc2b34.zip |
pts-core: Create unified batch mode support and make detection done at
init time
Diffstat (limited to 'phoronix-test-suite')
-rwxr-xr-x | phoronix-test-suite | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phoronix-test-suite b/phoronix-test-suite index f751175..7885783 100755 --- a/phoronix-test-suite +++ b/phoronix-test-suite @@ -81,7 +81,8 @@ case "$1" in $PHP_BIN pts-core/pts-run-benchmark.php $2 ;; "batch-run") - $PHP_BIN pts-core/pts-run-benchmark.php $2 BATCH + export PTS_BATCH_MODE=1 + $PHP_BIN pts-core/pts-run-benchmark.php $2 ;; "benchmark") export SILENT_INSTALL=1 @@ -89,9 +90,10 @@ case "$1" in $PHP_BIN pts-core/pts-run-benchmark.php $2 ;; "batch-benchmark") + export PTS_BATCH_MODE=1 export SILENT_INSTALL=1 $PHP_BIN pts-core/pts-run-cmd.php INSTALL_TEST $2 - $PHP_BIN pts-core/pts-run-benchmark.php $2 BATCH + $PHP_BIN pts-core/pts-run-benchmark.php $2 ;; "merge-results") $PHP_BIN pts-core/pts-run-cmd.php MERGE_RESULTS $2 $3 $4 |