* [Qemu-devel] [PATCH] tests: Unique test path for /string-visitor/output
@ 2015-10-05 11:04 Dr. David Alan Gilbert (git)
2015-10-05 15:39 ` Eric Blake
2015-10-08 14:53 ` Andreas Färber
0 siblings, 2 replies; 4+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2015-10-05 11:04 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, pbonzini, afaerber
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Newer GLib's want unique test paths, and thus moan at dupes.
(Seen on Fedora 23 which has glib 2.46)
Uniqueify the paths.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
---
tests/test-string-output-visitor.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/test-string-output-visitor.c b/tests/test-string-output-visitor.c
index 101fb27..fd5e67b 100644
--- a/tests/test-string-output-visitor.c
+++ b/tests/test-string-output-visitor.c
@@ -248,39 +248,39 @@ int main(int argc, char **argv)
output_visitor_test_add("/string-visitor/output/int",
&out_visitor_data, test_visitor_out_int, false);
- output_visitor_test_add("/string-visitor/output/int",
+ output_visitor_test_add("/string-visitor/output/int-human",
&out_visitor_data, test_visitor_out_int, true);
output_visitor_test_add("/string-visitor/output/bool",
&out_visitor_data, test_visitor_out_bool, false);
- output_visitor_test_add("/string-visitor/output/bool",
+ output_visitor_test_add("/string-visitor/output/bool-human",
&out_visitor_data, test_visitor_out_bool, true);
output_visitor_test_add("/string-visitor/output/number",
&out_visitor_data, test_visitor_out_number, false);
- output_visitor_test_add("/string-visitor/output/number",
+ output_visitor_test_add("/string-visitor/output/number-human",
&out_visitor_data, test_visitor_out_number, true);
output_visitor_test_add("/string-visitor/output/string",
&out_visitor_data, test_visitor_out_string, false);
- output_visitor_test_add("/string-visitor/output/string",
+ output_visitor_test_add("/string-visitor/output/string-human",
&out_visitor_data, test_visitor_out_string, true);
output_visitor_test_add("/string-visitor/output/no-string",
&out_visitor_data, test_visitor_out_no_string,
false);
- output_visitor_test_add("/string-visitor/output/no-string",
+ output_visitor_test_add("/string-visitor/output/no-string-human",
&out_visitor_data, test_visitor_out_no_string,
true);
output_visitor_test_add("/string-visitor/output/enum",
&out_visitor_data, test_visitor_out_enum, false);
- output_visitor_test_add("/string-visitor/output/enum",
+ output_visitor_test_add("/string-visitor/output/enum-human",
&out_visitor_data, test_visitor_out_enum, true);
output_visitor_test_add("/string-visitor/output/enum-errors",
&out_visitor_data, test_visitor_out_enum_errors,
false);
- output_visitor_test_add("/string-visitor/output/enum-errors",
+ output_visitor_test_add("/string-visitor/output/enum-errors-human",
&out_visitor_data, test_visitor_out_enum_errors,
true);
output_visitor_test_add("/string-visitor/output/intList",
&out_visitor_data, test_visitor_out_intList, false);
- output_visitor_test_add("/string-visitor/output/intList",
+ output_visitor_test_add("/string-visitor/output/intList-human",
&out_visitor_data, test_visitor_out_intList, true);
g_test_run();
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] tests: Unique test path for /string-visitor/output
2015-10-05 11:04 [Qemu-devel] [PATCH] tests: Unique test path for /string-visitor/output Dr. David Alan Gilbert (git)
@ 2015-10-05 15:39 ` Eric Blake
2015-10-08 16:49 ` Michael Tokarev
2015-10-08 14:53 ` Andreas Färber
1 sibling, 1 reply; 4+ messages in thread
From: Eric Blake @ 2015-10-05 15:39 UTC (permalink / raw)
To: Dr. David Alan Gilbert (git), qemu-devel; +Cc: qemu-trivial, pbonzini, afaerber
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
On 10/05/2015 05:04 AM, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> Newer GLib's want unique test paths, and thus moan at dupes.
> (Seen on Fedora 23 which has glib 2.46)
>
> Uniqueify the paths.
Not sure if "Uniquify" is any better spelling for a made-up word?
>
> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
> tests/test-string-output-visitor.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] tests: Unique test path for /string-visitor/output
2015-10-05 15:39 ` Eric Blake
@ 2015-10-08 16:49 ` Michael Tokarev
0 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2015-10-08 16:49 UTC (permalink / raw)
To: Eric Blake, Dr. David Alan Gilbert (git), qemu-devel
Cc: qemu-trivial, pbonzini, afaerber
05.10.2015 18:39, Eric Blake wrote:
> On 10/05/2015 05:04 AM, Dr. David Alan Gilbert (git) wrote:
>> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>>
>> Newer GLib's want unique test paths, and thus moan at dupes.
>> (Seen on Fedora 23 which has glib 2.46)
>>
>> Uniqueify the paths.
>
> Not sure if "Uniquify" is any better spelling for a made-up word?
It looks like "Uniquify" actually is a word in use
(and I for one used it before myself).
Applied to -trivial, with the spelling fix from Eric :)
Thanks!
/mjt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] tests: Unique test path for /string-visitor/output
2015-10-05 11:04 [Qemu-devel] [PATCH] tests: Unique test path for /string-visitor/output Dr. David Alan Gilbert (git)
2015-10-05 15:39 ` Eric Blake
@ 2015-10-08 14:53 ` Andreas Färber
1 sibling, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2015-10-08 14:53 UTC (permalink / raw)
To: Dr. David Alan Gilbert (git), qemu-devel; +Cc: qemu-trivial, pbonzini
Am 05.10.2015 um 13:04 schrieb Dr. David Alan Gilbert (git):
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> Newer GLib's want unique test paths, and thus moan at dupes.
> (Seen on Fedora 23 which has glib 2.46)
>
> Uniqueify the paths.
>
> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
> tests/test-string-output-visitor.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Same problem on openSUSE Tumbleweed,
Reviewed-by: Andreas Färber <afaerber@suse.de>
Thanks,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-08 23:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05 11:04 [Qemu-devel] [PATCH] tests: Unique test path for /string-visitor/output Dr. David Alan Gilbert (git)
2015-10-05 15:39 ` Eric Blake
2015-10-08 16:49 ` Michael Tokarev
2015-10-08 14:53 ` Andreas Färber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).