diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2016-12-02 10:01:23 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-12-02 20:04:33 -0300 |
commit | 16bdc044e4c980e871379805350a6ccbcadc942e (patch) | |
tree | 2cd40a922ce7febaa1d0c7d561e52e84f3f9b679 /mesontest.py | |
parent | e2782f7864362729417ca2810f33d67fe6d0e80d (diff) | |
download | meson-16bdc044e4c980e871379805350a6ccbcadc942e.tar.gz |
mesontest: Properly let user know when a test timeout out in verbose mode
Diffstat (limited to 'mesontest.py')
-rwxr-xr-x | mesontest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesontest.py b/mesontest.py index cf10499d7..293678b26 100755 --- a/mesontest.py +++ b/mesontest.py @@ -207,6 +207,8 @@ class TestHarness: try: (stdo, stde) = p.communicate(timeout=timeout) except subprocess.TimeoutExpired: + if self.options.verbose: + print("%s time out (After %d seconds)" % (test.name, timeout)) timed_out = True # Python does not provide multiplatform support for # killing a process and all its children so we need |