diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-02 22:05:51 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-02 22:05:51 -0500 |
commit | 822459a4b92fda1aabbd0edbd33ab4d8445e3808 (patch) | |
tree | e54fe8bc92324f56dc26e0f9ec98892fcf69c1fd /pts-core/functions/pts-functions-run.php | |
parent | 3828e81cf3832f592c03a8168d0250c9c52bfd9a (diff) | |
download | phoronix-test-suite-upstream-822459a4b92fda1aabbd0edbd33ab4d8445e3808.tar.gz phoronix-test-suite-upstream-822459a4b92fda1aabbd0edbd33ab4d8445e3808.tar.xz phoronix-test-suite-upstream-822459a4b92fda1aabbd0edbd33ab4d8445e3808.zip |
pts-core: Cut down on use of pts_exit() command due to the new option
architecture, instead use returns appropriately
Diffstat (limited to 'pts-core/functions/pts-functions-run.php')
-rw-r--r-- | pts-core/functions/pts-functions-run.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php index 97b06cf..d177320 100644 --- a/pts-core/functions/pts-functions-run.php +++ b/pts-core/functions/pts-functions-run.php @@ -539,6 +539,7 @@ function pts_verify_test_installation($identifier) // Verify a test is installed $tests = pts_contained_tests($identifier); $needs_installing = array(); + $valid_op = true; foreach($tests as $test) { @@ -578,9 +579,11 @@ function pts_verify_test_installation($identifier) if(!pts_is_assignment("TEST_INSTALL_PASS") && pts_read_assignment("COMMAND") != "benchmark") { - pts_exit(); + $valid_op = false; } } + + return $valid_op; } function pts_recurse_call_tests($tests_to_run, $arguments_array, $save_results = false, &$tandem_xml = "", $results_identifier = "", $arguments_description = "") { |