* [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug
@ 2018-12-11 8:57 Ola x Nilsson
2018-12-11 10:58 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Ola x Nilsson @ 2018-12-11 8:57 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Ola x Nilsson <olani@axis.com>
---
meta/lib/oeqa/selftest/cases/package.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py
index 0a88dc25b3..b0abc2f4ee 100644
--- a/meta/lib/oeqa/selftest/cases/package.py
+++ b/meta/lib/oeqa/selftest/cases/package.py
@@ -137,7 +137,7 @@ class PackageTests(OESelftestTestCase):
elif "Breakpoint 1, main () at hello.c:4" in l:
return True
- self.logger.error("GDB result:\n%s: %s" % output)
+ self.logger.error("GDB result:\n%s: %s", status, output)
return False
with runqemu('core-image-minimal') as qemu:
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug
2018-12-11 8:57 [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug Ola x Nilsson
@ 2018-12-11 10:58 ` Burton, Ross
2018-12-11 11:30 ` Ola x Nilsson
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2018-12-11 10:58 UTC (permalink / raw)
To: Ola x Nilsson; +Cc: OE-core
On Tue, 11 Dec 2018 at 08:58, Ola x Nilsson <ola.x.nilsson@axis.com> wrote:
> - self.logger.error("GDB result:\n%s: %s" % output)
> + self.logger.error("GDB result:\n%s: %s", status, output)
Isn't status an integer so should be %d?
Ross
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug
2018-12-11 10:58 ` Burton, Ross
@ 2018-12-11 11:30 ` Ola x Nilsson
0 siblings, 0 replies; 3+ messages in thread
From: Ola x Nilsson @ 2018-12-11 11:30 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Tue, Dec 11 2018, Burton, Ross wrote:
> On Tue, 11 Dec 2018 at 08:58, Ola x Nilsson <ola.x.nilsson@axis.com> wrote:
>> - self.logger.error("GDB result:\n%s: %s" % output)
>> + self.logger.error("GDB result:\n%s: %s", status, output)
>
> Isn't status an integer so should be %d?
>
Both seem to work, but I'll resend.
--
Ola x Nilsson
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-11 11:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-11 8:57 [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug Ola x Nilsson
2018-12-11 10:58 ` Burton, Ross
2018-12-11 11:30 ` Ola x Nilsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox