projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Wed 2/3/10 13:04
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:38
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:27
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 9:26
Michael Larabel  
pts: Drop MD5 hashes in... 
Tue 2/2/10 23:43
Michael Larabel  
phoromatic: Add... 
Tue 2/2/10 23:35
Michael Larabel  
pts-core: Phoromatic... 
 
> --git a/phoronix-test-suite b/phoronix-test-suite
index 4830f11
..6113c0f 100755
--- a/phoronix-test-suite
+++ b/phoronix-test-suite
@@ -30,10 +30,17 @@ case "${task}" in
 
"run")
     
php pts-core/pts-run-benchmark.php $2
     
;;
+
"batch-run")
+    
php pts-core/pts-run-benchmark.php $2 BATCH
+    ;;
 
"benchmark")
     
php pts-core/pts-run-cmd.php INSTALL_BENCHMARK $2
     php pts
-core/pts-run-benchmark.php $2
     
;;
+
"batch-benchmark")
+    
php pts-core/pts-run-cmd.php INSTALL_BENCHMARK $2
+    php pts-core/pts-run-benchmark.php $2 BATCH
+    ;;
 
"merge-results")
     
php pts-core/pts-merge-results.php $$$4
     
;;
@@ -
67,+74,@@ case "${task}" in
     
echo "install <suite OR benchmark>: Install or Update The Specified Benchmark(s)"
     
echo "install-dependencies <suite OR benchmark>: Install The External (Distribution) Dependencies For Specified Benchmark(s)"
     
echo "run <suite OR benchmark>: Run The Specified Benchmark/Suite"
+    echo "batch-run <suite OR benchmark>: Run The Specified Benchmark/Suite in Batch Mode"
     
echo "benchmark <suite OR benchmark OR saved file>: Same as manually running install and then run"
+    echo "batch-benchmark <suite OR benchmark OR saved file>: Same as manually running install and then run in Batch Mode"
     
echo "merge-results <Saved File 1 OR Global ID> <Saved File 2 OR Global ID> <Save To>: Merge two saved result sets"
     
echo "remove-result <Saved File>: Remove this saved result file and associated files"
     
echo "list-tests: List all Phoronix Test Suite Benchmark profiles"
diff --git a/pts-core/pts-run-benchmark.php b/pts-core/pts-run-benchmark.php
index 73504a4
..8a32e43 100644
--- a/pts-core/pts-run-benchmark.php
+++ b/pts-core/pts-run-benchmark.php
@@ -26,+26,@@ $TO_RUN strtolower($argv[1]);
 
$TO_RUN_TYPE pts_benchmark_type($TO_RUN);
 
$BENCHMARK_RAN false;

+if(
$argv[2] == "BATCH")
+    
define("PTS_BATCH_MODE""1");
+
 if(empty(
$TO_RUN))
 {
     echo 
"\nThe benchmark, suite name, or saved file name must be supplied.\n";
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media