qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH REPOST v3 79/80] tests:numa-test: make top level args dynamic


From: BALATON Zoltan
Subject: Re: [PATCH REPOST v3 79/80] tests:numa-test: make top level args dynamic and g_autofree(cli) cleanups
Date: Thu, 23 Jan 2020 17:25:02 +0100 (CET)
User-agent: Alpine 2.21.99999 (BSF 352 2019-06-22)

On Thu, 23 Jan 2020, Igor Mammedov wrote:
Use GString to pass argument to make_cli() so that it would be easy
to dynamically change test case arguments from main(). The follow up
patch will use it to change RAM size options depending on target.

While at it cleanup 'cli' freeing, using g_autofree annotation.

Signed-off-by: Igor Mammedov <address@hidden>
---
v3:
 * s/strcmp/g_str_equal/
   (Thomas Huth <address@hidden>)
 * use pair make_cli/qtest_init instead of qtest_initf
PS:
 made as a separate patch so it won't clutter followup testcase changes.

CC: address@hidden
CC: address@hidden
---
tests/qtest/numa-test.c | 108 ++++++++++++++++++++++++------------------------
1 file changed, 54 insertions(+), 54 deletions(-)

Title of this and next (80/80) patch is probably better written as tests/numa-test: to follow usual patch titles but this may not be too important.

Regards,
BALATON Zoltan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]