Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52
Recent Commits
>
--git a/pts-core/commands/list_available_tests.php b/pts-core/commands/list_available_tests.php
index 060ee96..73ae3fc 100644
--- a/pts-core/commands/list_available_tests.php
+++ b/pts-core/commands/list_available_tests.php
@@ -45,7 +45,7 @@ class list_available_tests implements pts_option_interface
continue;
}
- echo sprintf('%-28ls - %-35ls %-9ls', $identifier, $repo_index['tests'][$id]['title'], $repo_index['tests'][$id]['test_type']) . PHP_EOL;
+ echo sprintf('%-30ls - %-35ls %-9ls', $identifier, $repo_index['tests'][$id]['title'], $repo_index['tests'][$id]['test_type']) . PHP_EOL;
$test_count++;
}
@@ -53,9 +53,9 @@ class list_available_tests implements pts_option_interface
{
$test_profile = new pts_test_profile('local/' . basename(dirname($path)));
- if($test_profile->get_title() != null && $test_profile->is_supported())
+ if($test_profile->get_title() != null && $test_profile->is_supported(false))
{
- echo sprintf('%-28ls - %-35ls %-9ls', $test_profile->get_identifier(), $test_profile->get_title(), $test_profile->get_test_hardware_type()) . PHP_EOL;
+ echo sprintf('%-30ls - %-35ls %-9ls', $test_profile->get_identifier(), $test_profile->get_title(), $test_profile->get_test_hardware_type()) . PHP_EOL;
$test_count++;
}
}
diff --git a/pts-core/objects/client/pts_tests.php b/pts-core/objects/client/pts_tests.php
index fc10f4e..5a60916 100644
--- a/pts-core/objects/client/pts_tests.php
+++ b/pts-core/objects/client/pts_tests.php
@@ -90,6 +90,7 @@ class pts_tests
// TODO: call_test_script could be better cleaned up to fit more closely with new pts_test_profile functions
$result = null;
$test_directory = $test_profile->get_install_dir();
+ pts_file_io::mkdir($test_directory);
$os_postfix = '_' . strtolower(phodevi::operating_system());
$test_profiles = array($test_profile);
<
Copyright © 2013 by Phoronix Media