Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49
Recent Commits
>
--git a/CHANGE-LOG b/CHANGE-LOG
index cc2de90..b8e5e15 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -6,6 +6,7 @@ Phoronix Test Suite (Git)
- pts-core: Improve no-network support handling
- pts-core: Streamline detailed-system-info collection
- pts-core: Invalid command improvements
+- pts-core: Various alterations
- phodevi: Support to attempt to detect the file-system underneath ecryptfs
Phoronix Test Suite 4.0 Milestone 2
diff --git a/pts-core/objects/client/pts_test_installer.php b/pts-core/objects/client/pts_test_installer.php
index 54fc7e2..ba23319 100644
--- a/pts-core/objects/client/pts_test_installer.php
+++ b/pts-core/objects/client/pts_test_installer.php
@@ -396,7 +396,7 @@ class pts_test_installer
{
// Handle C/C++ compilers for this external dependency
$compilers['CC'] = array(pts_strings::first_in_string(pts_client::read_env('CC'), ' '), 'gcc', 'clang', 'icc', 'pcc');
- $compilers['CXX'] = array(pts_strings::first_in_string(pts_client::read_env('CXX'), ' '), 'g++', 'clang++');
+ $compilers['CXX'] = array(pts_strings::first_in_string(pts_client::read_env('CXX'), ' '), 'g++', 'clang++', 'cpp');
}
if($test_install_request === false || in_array('fortran-compiler', $test_install_request->test_profile->get_dependencies()))
{
diff --git a/pts-core/objects/client/pts_test_run_manager.php b/pts-core/objects/client/pts_test_run_manager.php
index 1a44132..d563a05 100644
--- a/pts-core/objects/client/pts_test_run_manager.php
+++ b/pts-core/objects/client/pts_test_run_manager.php
@@ -233,7 +233,6 @@ class pts_test_run_manager
public function result_already_contains_identifier()
{
$result_file = new pts_result_file($this->file_name);
-
return in_array($this->results_identifier, $result_file->get_system_identifiers());
}
public function set_save_name($save_name, $is_new_save = true)
@@ -404,6 +403,7 @@ class pts_test_run_manager
if(empty($results_identifier))
{
+ // TODO: intelligently decide a proper result identifier based upon type of tests being run, etc.
$results_identifier = date('Y-m-d H:i');
}
@@ -578,7 +578,7 @@ class pts_test_run_manager
if(!empty($test_identifier))
{
- // XXX : add to attributes JSON Here and TODO XXX then pass to the result_file_writer
+ // XXX : add to attributes JSON here
$json_report_attributes = null;
if(($t = $test_run_request->test_profile->test_installation->get_compiler_data()))
@@ -803,7 +803,7 @@ class pts_test_run_manager
}
else if((pts_c::$test_flags ^ pts_c::auto_mode))
{
- $upload_results = pts_user_io::prompt_bool_input('Would you like to upload these results to OpenBenchmarking.org', true);
+ $upload_results = pts_user_io::prompt_bool_input('Would you like to upload the results to OpenBenchmarking.org', true);
}
else
{
diff --git a/pts-core/objects/pts_test_profile.php b/pts-core/objects/pts_test_profile.php
index c733f69..e28c1f6 100644
--- a/pts-core/objects/pts_test_profile.php
+++ b/pts-core/objects/pts_test_profile.php
@@ -3,8 +3,8 @@
/*
Phoronix Test Suite
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
- Copyright (C) 2008 - 2011, Phoronix Media
- Copyright (C) 2008 - 2011, Michael Larabel
+ Copyright (C) 2008 - 2012, Phoronix Media
+ Copyright (C) 2008 - 2012, Michael Larabel
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/pts-core/objects/pts_test_suite.php b/pts-core/objects/pts_test_suite.php
index 19c580d..fff77d0 100644
--- a/pts-core/objects/pts_test_suite.php
+++ b/pts-core/objects/pts_test_suite.php
@@ -3,8 +3,8 @@
/*
Phoronix Test Suite
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
- Copyright (C) 2008 - 2011, Phoronix Media
- Copyright (C) 2008 - 2011, Michael Larabel
+ Copyright (C) 2008 - 2012, Phoronix Media
+ Copyright (C) 2008 - 2012, Michael Larabel
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/pts-core/objects/pts_types.php b/pts-core/objects/pts_types.php
index 0a32f91..871b94a 100644
--- a/pts-core/objects/pts_types.php
+++ b/pts-core/objects/pts_types.php
@@ -3,8 +3,8 @@
/*
Phoronix Test Suite
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
- Copyright (C) 2010 - 2011, Phoronix Media
- Copyright (C) 2010 - 2011, Michael Larabel
+ Copyright (C) 2010 - 2012, Phoronix Media
+ Copyright (C) 2010 - 2012, Michael Larabel
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -163,8 +163,7 @@ class pts_types
}
public static function is_test_or_suite($identifier)
{
- $object = pts_types::identifier_to_object($identifier);
- return $object instanceof pts_test_profile || $object instanceof pts_test_suite;
+ return pts_test_profile::is_test_profile($identifier) || pts_test_suite::is_suite($identifier);
}
private static function parse_xsd_types($type_name)
 
Copyright © 2013 by Phoronix Media