Skip to content

Commit 7e19aea

Browse files
committed
fix(test): exit code of lime test
1 parent 0c9ba11 commit 7e19aea

17 files changed

+1409
-892
lines changed

.php-cs-fixer.dist.php

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
->in(__DIR__.'/lib')
66
->in(__DIR__.'/data/bin')
77
->in(__DIR__.'/test')
8+
->in(__DIR__.'/lib/vendor/lime/src')
89
->append([__FILE__])
910
// Exclude PHP classes templates/generators, which are not valid PHP files
1011
->exclude('task/generator/skeleton/')

lib/plugins/sfDoctrinePlugin/test/bin/coverage.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@
3232

3333
$finder = sfFinder::type('file')->name('*.php')->prune('vendor')->prune('test')->prune('data');
3434
$c->register($finder->in($c->base_dir));
35-
$c->run();
35+
36+
$allTestsSucceed = $c->run();
37+
38+
exit($allTestsSucceed ? 0 : 1);

0 commit comments

Comments
 (0)