. */ class download_test_files implements pts_option_interface { public static function run($r) { pts_load_function_set("install"); $test = $r[0]; if(empty($test)) { echo "\nThe test or suite name to install must be supplied.\n"; } else { $tests = pts_contained_tests(strtolower($test), true); if(count($tests) == 0) { echo "\n" . $test . " isn't recognized.\n"; } else { foreach($tests as $this_test) { // Download Test Files pts_setup_install_test_directory($this_test, false); pts_download_test_files($this_test); } } } } } ?>