aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-06-13 20:47:16 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-06-16 02:10:16 -0400
commit64394fcbd65ab29a682d96a0280422ca8426cf0a (patch)
treeb78ba5c9ea05011524c2c162fe4244ee8c9b7e89
parent6b2427a0310c95d8856600a0c5f05133a61b9e43 (diff)
downloadmeson-64394fcbd65ab29a682d96a0280422ca8426cf0a.zip
meson-64394fcbd65ab29a682d96a0280422ca8426cf0a.tar.gz
meson-64394fcbd65ab29a682d96a0280422ca8426cf0a.tar.bz2
unittests: ensure terminal has 80 chars width
-rw-r--r--unittests/baseplatformtests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/baseplatformtests.py b/unittests/baseplatformtests.py
index 5a88733..ea95b15 100644
--- a/unittests/baseplatformtests.py
+++ b/unittests/baseplatformtests.py
@@ -95,6 +95,7 @@ class BasePlatformTests(TestCase):
# VS doesn't have a stable output when no changes are done
# XCode backend is untested with unit tests, help welcome!
self.no_rebuild_stdout = [f'UNKNOWN BACKEND {self.backend.name!r}']
+ os.environ['COLUMNS'] = '80'
self.builddirs = []
self.new_builddir()