Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 2158.phpt
1 --TEST--
2 #2158: Failure to run tests in separate processes if a file included into main process contains constant definition
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = 'Issue2158Test';
7 $_SERVER['argv'][3] = __DIR__ . '/2158/Issue2158Test.php';
8
9 require __DIR__ . '/../../bootstrap.php';
10 PHPUnit_TextUI_Command::main();
11 ?>
12 --EXPECTF--
13 PHPUnit %s by Sebastian Bergmann and contributors.
14
15 %s
16
17 Time: %s, Memory: %s
18
19 OK (2 tests, 2 assertions)