Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52
Recent Commits
>
--git a/CHANGE-LOG b/CHANGE-LOG
index 4a2ea64..9f57d12 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -5,6 +5,7 @@ Phoronix Test Suite (Git)
- pts-core: Add list-recommended-tests option for providing subsystem test recommendations based upon OpenBenchmarking.org popularity/usage
- pts-core: Add auto-compare option for automatically determining relevant OpenBenchmarking.org result comparisons based upon software/hardware
- pts-core: Allow passing test profile names to auto-compare to seed it with the test(s) you wish to use for comparison
+- pts-core: OpenBenchmarking.org now supports system log payload sizes up to 2MB
- phodevi: Split some into new phodevi_base class
Phoronix Test Suite 4.2 Milestone 1
diff --git a/pts-core/commands/auto_compare.php b/pts-core/commands/auto_compare.php
index 001081d..916f45d 100644
--- a/pts-core/commands/auto_compare.php
+++ b/pts-core/commands/auto_compare.php
@@ -201,7 +201,7 @@ class auto_compare implements pts_option_interface
{
if($allow_trim_extra && !isset($to_array[2]))
{
- $value_r = explode(' ', $value);
+ $value_r = explode(' ', str_replace('-', ' ', $value));
array_pop($value_r);
array_push($to_array, $component_type . ':' . implode(' ', $value_r));
}
diff --git a/pts-core/objects/client/pts_openbenchmarking_client.php b/pts-core/objects/client/pts_openbenchmarking_client.php
index 3eda8e8..d667129 100644
--- a/pts-core/objects/client/pts_openbenchmarking_client.php
+++ b/pts-core/objects/client/pts_openbenchmarking_client.php
@@ -114,9 +114,9 @@ class pts_openbenchmarking_client
$system_logs_zip = pts_client::create_temporary_file();
pts_compression::zip_archive_create($system_logs_zip, $system_log_dir);
- if(filesize($system_logs_zip) < 1048576)
+ if(filesize($system_logs_zip) < 2097152)
{
- // If it's over 1MB, probably too big
+ // If it's over 2MB, probably too big
$system_logs = base64_encode(file_get_contents($system_logs_zip));
$system_logs_hash = sha1($system_logs);
}
<
Copyright © 2013 by Phoronix Media