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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 5/17/13 22:52
Michael Larabel  
phodevi: Report CPU... 
Wed 5/15/13 21:50
Michael Larabel  
Phoronix Test Suite... 
Wed 5/15/13 21:39
Michael Larabel  
pts-core: DragonFlyBSD... 
Wed 5/15/13 15:47
Michael Larabel  
pts-core: Updates from... 
Wed 5/15/13 15:43
Michael Larabel  
 
Sat 5/11/13 13:55
Michael Larabel  
pts-core: Fix for... 
 
> --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 © 2013 by Phoronix Media