} } require PTS_PATH . 'pts-core/pts-core.php'; if (!PTS_IS_CLIENT) { // pts-core is acting as a library, return now since no need to run client code return; } // Default to C locale setlocale(LC_ALL, 'C'); // Needed for shutdown functions // declare(ticks = 1); $sent_command = strtolower(str_replace('-', '_', isset($argv[1]) ? $argv[1] : null)); $quick_start_options = array('dump_possible_options'); pts_define('QUICK_START', in_array($sent_command, $quick_start_options)); if (QUICK_START == false) { pts_client::program_requirement_checks(true); } pts_client::init(); // Initalize the Phoronix Test Suite (pts-core) client $pass_args = array(); if (is_file(PTS_PATH . 'pts-core/commands/' . $sent_command . '.php') == false) { $replaced = false; if (pts_module::valid_run_command($sent_command)) { $replaced = true; } else { if (isset($argv[1]) && strpos($argv[1], '.openbenchmarking') !== false && is_readable($argv[1])) { $sent_command = 'openbenchmarking_launcher'; $argv[2] = $argv[1]; $argc = 3; $replaced = true; } else {