From 30cdddbdb48ffa0562d740bb7d0d78aedc98a96c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 28 Sep 2017 20:47:25 +0200 Subject: Fix unified diff output for the defconfig tests Would get crammed in between the arch/defconfig string and the "FAIL". --- testsuite.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testsuite.py b/testsuite.py index 5a870f6..53f0159 100644 --- a/testsuite.py +++ b/testsuite.py @@ -2395,13 +2395,13 @@ def test_defconfig(conf): # bugs. shell("make kconfiglibtestconfig") - sys.stdout.write(" {:14}with {:60} ". - format(conf.get_arch(), defconfig)) + arch_defconfig_str = " {:14}with {:60} " \ + .format(conf.get_arch(), defconfig) if equal_confs(): - print("OK") + print(arch_defconfig_str + "OK") else: - print("FAIL") + print(arch_defconfig_str + "FAIL") fail() if log_mode: with open("test_defconfig_fails", "a") as fail_log: -- cgit v1.2.3