small tweaks
This commit is contained in:
@@ -3,7 +3,7 @@ PHORONIX TEST SUITE CHANGE-LOG
|
||||
Phoronix Test Suite 9.0.1-Asker
|
||||
1 October 2019
|
||||
|
||||
pts-core: Fatal error fix for old PHP5 versions with pts_openbenchmarking_upload crash
|
||||
pts-core: Fatal error fix for old PHP5 versions (RHEL 7) with pts_openbenchmarking_upload crash
|
||||
pts-core: Set AllowResultUploadsToOpenBenchmarking = FALSE in enterprise-setup
|
||||
ob_auto_compare: Show "since [date]" as part of the inline box plot
|
||||
ob_auto_compare: Various tweaks/styling improvements to the inline box-plot display
|
||||
|
||||
@@ -53,7 +53,7 @@ shell_exec("./install-sh /tmp/pts-deb-builder/usr");
|
||||
$pts_version = str_replace("a", "~a", str_replace("b", "~b", PTS_VERSION)); // Fix version
|
||||
|
||||
$phoronix_test_suite_bin = file_get_contents("phoronix-test-suite");
|
||||
$phoronix_test_suite_bin = str_replace("export PTS_DIR=`pwd`", "export PTS_DIR='/usr/share/phoronix-test-suite/'", $phoronix_test_suite_bin);
|
||||
$phoronix_test_suite_bin = str_replace("#export PTS_DIR=`pwd`", "export PTS_DIR='/usr/share/phoronix-test-suite/'", $phoronix_test_suite_bin);
|
||||
file_put_contents("/tmp/pts-deb-builder/usr/bin/phoronix-test-suite", $phoronix_test_suite_bin);
|
||||
shell_exec("chmod +x /tmp/pts-deb-builder/usr/bin/phoronix-test-suite");
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ class pts_graph_run_vs_run extends pts_graph_core
|
||||
|
||||
public static function cmp_result_object_sort($a, $b)
|
||||
{
|
||||
return strcmp($b->get_spread(), $a->get_spread());
|
||||
return strcmp($b->get_spread(false), $a->get_spread(false));
|
||||
|
||||
return strcmp($a, $b);
|
||||
}
|
||||
|
||||
@@ -247,9 +247,9 @@ class pts_test_result
|
||||
|
||||
return $winner;
|
||||
}
|
||||
public function get_spread()
|
||||
public function get_spread($noisy_check = true)
|
||||
{
|
||||
if($this->has_noisy_result())
|
||||
if($noisy_check && $this->has_noisy_result())
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user