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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 2/27/15 10:49

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 2/27/15 10:49
Michael Larabel  
phoromatic: Send emails... 
Thu 2/26/15 19:43
Michael Larabel  
 
Thu 2/26/15 18:46
Michael Larabel  
pts-core: Fix version... 
Thu 2/26/15 18:10
Michael Larabel  
phoromatic: Don't pass... 
Thu 2/26/15 18:09
Michael Larabel  
phoromatic: Use short... 
Thu 2/26/15 17:49
Michael Larabel  
phoromatic: Initial... 
 
> --git a/phoronix-test-suite b/phoronix-test-suite
index 6113c0f
..c6dc2fb 100755
--- a/phoronix-test-suite
+++ b/phoronix-test-suite
@@ -62,+62,@@ case "${task}in
 
"remote-comparison")
     
php pts-core/pts-run-cmd.php REMOTE_COMPARISON $$3
     
;;
-
"build-php")
-    echo 
"TODO: Not Yet Implemented!"
+"initial-config")
+    
php pts-core/pts-run-cmd.php INITIAL_CONFIG
     
;;
 *)
     echo 
"\n================================="
diff --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php
index a69ecf2
..ca0a854 100644
--- a/pts-core/pts-run-cmd.php
+++ b/pts-core/pts-run-cmd.php
@@ -148,+148,11 @@ switch($COMMAND)
         }
         echo 
"\n";
         break;
+    case 
"INITIAL_CONFIG":
+        if(
is_file(PTS_USER_DIR "user-config.xml"))
+            
unlink(PTS_USER_DIR "user-config.xml");
+        
pts_user_config_init();
+        break;
     default:
         echo 
"Phoronix Test Suite: Internal Error. Not Recognized Command ($COMMAND).\n";
 }
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2015 by Phoronix Media