scons: only wrap message with positive value
authorEarl Ou <shunhsingou@google.com>
Mon, 5 Oct 2020 07:51:56 +0000 (15:51 +0800)
committerEarl Ou <shunhsingou@google.com>
Tue, 6 Oct 2020 00:25:13 +0000 (00:25 +0000)
commitea8bceb5933efb5880c44502cca9423c1d1d6f7f
treea74fe71adb698a2f6322ce7f5f0e9e29d5ec9a4b
parent2286384a03e9637059f61beeac863593a183d558
scons: only wrap message with positive value

In case we have small TTY, scons failed with wrong testwrap value. Fix
the issue.

Change-Id: I8ec1d55c6856c1e592a57a68067091b796ac84ae
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35596
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
site_scons/gem5_scons/__init__.py