diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-22 13:36:40 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-27 07:46:25 +0300 |
commit | af700185515425607ff69e17a1045fd1f8208b6c (patch) | |
tree | 661b4007ecf0f70cb0a2676fc9296a8ded3781a6 /plugins | |
parent | 3e252d52a3ce3a49dc74d21cb3702feb59d0c058 (diff) |
Try to copy test fonts w/o sudo rights. And use correct return code in tests:run-ui.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TestRunner/Commands/TestsRunUI.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TestRunner/Commands/TestsRunUI.php b/plugins/TestRunner/Commands/TestsRunUI.php index 01eced183b..4ca7285c1d 100644 --- a/plugins/TestRunner/Commands/TestsRunUI.php +++ b/plugins/TestRunner/Commands/TestsRunUI.php @@ -111,7 +111,9 @@ class TestsRunUI extends ConsoleCommand $output->writeln('Executing command: <info>' . $cmd . '</info>'); $output->writeln(''); - passthru($cmd); + passthru($cmd, $returnCode); + + return $returnCode; } /** |