diff options
Diffstat (limited to 'php/test/Slice/macros/Client.php')
-rw-r--r-- | php/test/Slice/macros/Client.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php/test/Slice/macros/Client.php b/php/test/Slice/macros/Client.php index b38126cb198..a8e16923446 100644 --- a/php/test/Slice/macros/Client.php +++ b/php/test/Slice/macros/Client.php @@ -25,7 +25,8 @@ function test($b) if(!$b) { $bt = debug_backtrace(); - die("\ntest failed in ".$bt[0]["file"]." line ".$bt[0]["line"]."\n"); + echo "\ntest failed in ".$bt[0]["file"]." line ".$bt[0]["line"]."\n"; + exit(1); } } |