[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 9/9] .gitlab-ci.d/check-patch: tweak output for CI logs
From: |
Alex Bennée |
Subject: |
[PULL 9/9] .gitlab-ci.d/check-patch: tweak output for CI logs |
Date: |
Mon, 16 Nov 2020 12:24:17 +0000 |
We don't need running commentary for the CI logs and by keeping it
short we might just see the problem on the first page. While we are at
it flush the previous line so order is maintained between script and
sub process.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20201113174404.19608-1-alex.bennee@linaro.org>
diff --git a/.gitlab-ci.d/check-patch.py b/.gitlab-ci.d/check-patch.py
index 0ff30ee077..39e2b403c9 100755
--- a/.gitlab-ci.d/check-patch.py
+++ b/.gitlab-ci.d/check-patch.py
@@ -45,9 +45,9 @@ if log == "":
errors = False
-print("\nChecking all commits since %s...\n" % ancestor)
+print("\nChecking all commits since %s...\n" % ancestor, flush=True)
-ret = subprocess.run(["scripts/checkpatch.pl", ancestor + "..."])
+ret = subprocess.run(["scripts/checkpatch.pl", "--terse", ancestor + "..."])
if ret.returncode != 0:
print(" ❌ FAIL one or more commits failed scripts/checkpatch.pl")
--
2.20.1
- [PULL 3/9] meson.build: fix building of Xen support for aarch64, (continued)
- [PULL 3/9] meson.build: fix building of Xen support for aarch64, Alex Bennée, 2020/11/16
- [PULL 4/9] include/hw/xen.h: drop superfluous struct, Alex Bennée, 2020/11/16
- [PULL 5/9] stubs/xen-hw-stub: drop xenstore_store_pv_console_info stub, Alex Bennée, 2020/11/16
- [PULL 6/9] accel/stubs: drop unused cpu.h include, Alex Bennée, 2020/11/16
- [PULL 8/9] tests/acceptance: Disable Spartan-3A DSP 1800A test, Alex Bennée, 2020/11/16
- [PULL 7/9] hw/i386/acpi-build: Fix maybe-uninitialized error when ACPI hotplug off, Alex Bennée, 2020/11/16
[PULL 9/9] .gitlab-ci.d/check-patch: tweak output for CI logs,
Alex Bennée <=
Re: [PULL 0/9] various fixes (CI, Xen, warnings), Peter Maydell, 2020/11/16