From c662180a4351da7512f1cd2ca754196d2881ad15 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Mon, 3 Mar 2014 20:20:03 -0600 Subject: [PATCH] pts-core: Formatting changes --- pts-core/commands/run_random_tests.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pts-core/commands/run_random_tests.php b/pts-core/commands/run_random_tests.php index 1dab74d0d5..853def2d01 100644 --- a/pts-core/commands/run_random_tests.php +++ b/pts-core/commands/run_random_tests.php @@ -93,7 +93,15 @@ public static function run($r) pts_client::$display->generic_sub_heading('Tests To Run: ' . implode(', ', $to_test)); // QUERY FROM OB - $random_titles = array(phodevi::read_property('cpu', 'model') . ' Benchmarks', phodevi::read_property('system', 'operating-system') . ' Benchmarks', phodevi::read_property('system', 'operating-system') . ' Performance', phodevi::read_property('cpu', 'model') . ' Performance', phodevi::read_property('motherboard', 'identifier') . ' On ' . phodevi::read_property('system', 'operating-system'), phodevi::read_property('cpu', 'model') . ' On ' . phodevi::read_property('system', 'operating-system'), phodevi::read_property('system', 'kernel') . ' + ' . phodevi::read_property('system', 'operating-system') . ' Tests'); + $random_titles = array( + phodevi::read_property('cpu', 'model') . ' Benchmarks', + phodevi::read_property('system', 'operating-system') . ' Benchmarks', + phodevi::read_property('system', 'operating-system') . ' Performance', + phodevi::read_property('cpu', 'model') . ' Performance', + phodevi::read_property('cpu', 'model') . ' + ' . phodevi::read_property('gpu', 'model') . ' + ' . phodevi::read_property('motherboard', 'identifier'), + phodevi::read_property('motherboard', 'identifier') . ' On ' . phodevi::read_property('system', 'operating-system'), + phodevi::read_property('cpu', 'model') . ' On ' . phodevi::read_property('system', 'operating-system'), + phodevi::read_property('system', 'kernel') . ' + ' . phodevi::read_property('system', 'operating-system') . ' Tests'); shuffle($random_titles); $title = array_pop($random_titles); @@ -139,8 +147,9 @@ public static function run($r) if($test_run_manager->load_tests_to_run($to_test)) { // SETUP - $test_run_manager->auto_save_results($title, null, 'Automated open-source benchmarks by the Phoronix Test Suite.', true); + $test_run_manager->auto_save_results($title, null, 'Open-source benchmarks by the Phoronix Test Suite.', true); $test_run_manager->auto_generate_results_identifier(); + echo PHP_EOL; pts_client::$display->generic_sub_heading('Result File: ' . $test_run_manager->get_file_name()); pts_client::$display->generic_sub_heading('Result Identifier: ' . $test_run_manager->get_results_identifier());