function run_test($subject) { $bundle = new AsyncBundle($this, $subject); $bundle->commands[0] = get_phc_command_line($subject) . " {$this->flags}"; $bundle->final = "finish"; $bundle->start(); }
function run_test($subject) { $bundle = new AsyncBundle($this, $subject); $bundle->commands[0] = get_phc_command_line($subject) . " --run=plugins/tests/raise_globals.la -O1"; $bundle->final = "finish"; $bundle->start(); }
function run_test($subject) { global $phc; $bundle = new AsyncBundle($this, $subject); $bundle->commands[0] = get_phc_command_line($subject) . " --generate-c"; $bundle->final = "finish"; $bundle->start(); }
function run_test($subject) { global $phc; $bundle = new AsyncBundle($this, $subject); $bundle->commands[0] = get_phc_command_line($subject) . " --pretty-print"; $bundle->out_handlers[0] = "strip_whitespace"; $bundle->err_handlers[0] = "fail_on_output"; $bundle->commands[1] = "cat {$subject}"; $bundle->out_handlers[1] = "strip_whitespace"; $bundle->err_handlers[1] = "fail_on_output"; $bundle->final = "two_command_finish"; $bundle->start(); }
function get_phc_command($subject, $exe_name) { global $plugin_dir; $init = $this->init; return get_phc_command_line($subject) . " -c --run {$plugin_dir}/tools/demi_eval.la --r-option=\"{$init}\" -o {$exe_name}"; }
function get_phc_command($subject, $exe_name) { global $phc, $plugin_dir; return get_phc_command_line($subject) . " -c --run {$plugin_dir}/tools/debug_zval.la -o {$exe_name}"; }
function get_phc_command($subject, $exe_name) { return get_phc_command_line($subject) . " -c -o {$exe_name}"; }
function get_phc_command($subject, $exe_name) { global $phc; return get_phc_command_line($subject) . "-c --run=plugins/tests/raise_globals.la -O1 -o {$exe_name}"; }
function run_test($subject) { $bundle = new AsyncBundle($this, $subject); $bundle->annotations = $this->get_annotations($subject); $bundle->commands[0] = get_phc_command_line($subject); $bundle->final = "finish"; foreach ($bundle->annotations as $annotation) { $annotation->pre_process($bundle); } $bundle->start(); }
function get_command_line2($subject) { $command = $this->command_line; $pipe_command = get_php_command_line($subject, "pipe"); return get_phc_command_line($subject) . " {$command} | {$pipe_command}"; }