summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-run.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-12 18:29:40 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-12 18:29:40 -0500
commita39084a0e556986fbf0a080220665ed6eea0c392 (patch)
tree92c6f293fc109d5544fac868980f51950bd4e18d /pts-core/functions/pts-functions-run.php
parent580446f959c287a53c337d2e7ae4ce8275e67609 (diff)
downloadphoronix-test-suite-upstream-a39084a0e556986fbf0a080220665ed6eea0c392.tar.gz
phoronix-test-suite-upstream-a39084a0e556986fbf0a080220665ed6eea0c392.tar.xz
phoronix-test-suite-upstream-a39084a0e556986fbf0a080220665ed6eea0c392.zip
pts-core: Embed pts_location_test() into constructor of
pts_test_tandem_XmlReader()
Diffstat (limited to 'pts-core/functions/pts-functions-run.php')
-rw-r--r--pts-core/functions/pts-functions-run.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index 5489189..89d8f56 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -141,7 +141,7 @@ function pts_prompt_svg_result_options($svg_file)
}
function pts_prompt_test_options($identifier)
{
- $xml_parser = new pts_test_tandem_XmlReader(pts_location_test($identifier));
+ $xml_parser = new pts_test_tandem_XmlReader($identifier);
$test_title = $xml_parser->getXMLValue(P_TEST_TITLE);
$USER_ARGS = "";
@@ -754,7 +754,7 @@ function pts_run_test($test_identifier, $extra_arguments = "", $arguments_descri
pts_process_register($test_identifier);
$test_directory = TEST_ENV_DIR . $test_identifier . "/";
- $xml_parser = new pts_test_tandem_XmlReader(pts_location_test($test_identifier));
+ $xml_parser = new pts_test_tandem_XmlReader($test_identifier);
$execute_binary = $xml_parser->getXMLValue(P_TEST_EXECUTABLE);
$test_title = $xml_parser->getXMLValue(P_TEST_TITLE);
$test_version = $xml_parser->getXMLValue(P_TEST_VERSION);
@@ -1195,7 +1195,7 @@ function pts_auto_process_test_option($identifier, &$option_names, &$option_valu
}
function pts_test_options($identifier)
{
- $xml_parser = new pts_test_tandem_XmlReader(pts_location_test($identifier));
+ $xml_parser = new pts_test_tandem_XmlReader($identifier);
$settings_name = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_DISPLAYNAME);
$settings_argument_prefix = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_ARGPREFIX);
$settings_argument_postfix = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_ARGPOSTFIX);