@@ -174,7 +174,7 @@ def Run(self, tasks) -> Dict:
|
174 | 174 | raise |
175 | 175 | self.Done() |
176 | 176 | return { |
177 | | -'allPassed': not self.failed, |
| 177 | +'allPassed': not self.failed and not self.shutdown_event.is_set(), |
178 | 178 | 'failed': self.failed, |
179 | 179 | } |
180 | 180 | |
@@ -1843,11 +1843,12 @@ def should_keep(case):
|
1843 | 1843 | |
1844 | 1844 | if result['allPassed']: |
1845 | 1845 | print("\nAll tests passed.") |
1846 | | -else: |
| 1846 | +elif result['failed']: |
1847 | 1847 | print("\nFailed tests:") |
1848 | 1848 | for failure in result['failed']: |
1849 | 1849 | print(EscapeCommand(failure.command)) |
1850 | | - |
| 1850 | +else: |
| 1851 | +print("\nTest aborted.") |
1851 | 1852 | return exitcode |
1852 | 1853 | |
1853 | 1854 | |
|