[LIT] Emit timeout error message only if timeout was reached
authorAlexey Bader <alexey.bader@intel.com>
Fri, 12 Jul 2019 12:48:43 +0000 (12:48 +0000)
committerAlexey Bader <alexey.bader@intel.com>
Fri, 12 Jul 2019 12:48:43 +0000 (12:48 +0000)
commit07cbeaa118e865c477a0b5192a5c87116a40bb6b
treee49937aa101bbd1c3621558399c19757f3f3927f
parent0d26d6f887101afa0a46aec178bd6f7237f02734
[LIT] Emit timeout error message only if timeout was reached

Summary:
This improves readability of LIT output: previously
error messages gets emitted that say that there was no error:

error: command reached timeout: False

Patch by Alexey Sachkov.

Reviewers: ddunbar, mgorny, modocache

Reviewed By: mgorny

Subscribers: delcypher, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64240

llvm-svn: 365895
llvm/utils/lit/lit/TestRunner.py