2 GH-1351: Test result does not serialize test class in process isolation
5 if (!extension_loaded('pdo') || !in_array('sqlite', PDO::getAvailableDrivers())) {
6 print 'skip: PDO_SQLITE is required';
12 $_SERVER['argv'][1] = '--no-configuration';
13 $_SERVER['argv'][2] = '--process-isolation';
14 $_SERVER['argv'][3] = 'Issue1351Test';
15 $_SERVER['argv'][4] = __DIR__ . '/1351/Issue1351Test.php';
17 require __DIR__ . '/../../bootstrap.php';
18 PHPUnit_TextUI_Command::main();
21 PHPUnit %s by Sebastian Bergmann and contributors.
29 1) Issue1351Test::testExceptionPre
30 RuntimeException: Expected rethrown exception.
33 LogicException: Expected exception.
36 2) Issue1351Test::testPhpCoreLanguageException
37 PDOException: SQLSTATE[HY000]: General error: 1 no such table: php_wtf
44 1) Issue1351Test::testFailurePre
48 Tests: 5, Assertions: 5, Errors: 2, Failures: 1.