Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52
Recent Commits
>
--git a/phoronix-test-suite b/phoronix-test-suite
index 6113c0f..c6dc2fb 100755
--- a/phoronix-test-suite
+++ b/phoronix-test-suite
@@ -62,8 +62,8 @@ case "${task}" in
"remote-comparison")
php pts-core/pts-run-cmd.php REMOTE_COMPARISON $2 $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,6 +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";
}
<
Copyright © 2013 by Phoronix Media