summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-09-28 20:47:25 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2017-09-28 20:49:50 +0200
commit30cdddbdb48ffa0562d740bb7d0d78aedc98a96c (patch)
treed5fd59618c61e5f5374120f1431e174e13ff8007
parent3f98abd3b7077057dd8d58352921ed27a4aeb699 (diff)
Fix unified diff output for the defconfig tests
Would get crammed in between the arch/defconfig string and the "FAIL".
-rw-r--r--testsuite.py8
1 files 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: