forked from pool/bluez
Add bluez-no-duplicate-test-names.patch: Fix test suite when running against GLIB 2.45.x (test names are not to be used duplicated). Sent the patch to upstream as well. OBS-URL: https://build.opensuse.org/request/show/331118 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=197
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From ff657211adeefe2700d686c2960fa19492f7a71d Mon Sep 17 00:00:00 2001
|
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
|
Date: Thu, 10 Sep 2015 15:32:31 +0200
|
|
Subject: [PATCH] tests: test-gobex-header: do not use the same full path for
|
|
two tests
|
|
|
|
Since GLib 2.45.7, it is no longer permitted to have two tests with the same full path.
|
|
Related glib commit: https://git.gnome.org/browse/glib/commit/glib/gtestutils.c?id=367f36d630afa01b0967547f5a038a1f8f499f45
|
|
---
|
|
unit/test-gobex-header.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/unit/test-gobex-header.c b/unit/test-gobex-header.c
|
|
index 6f49312..8705892 100644
|
|
--- a/unit/test-gobex-header.c
|
|
+++ b/unit/test-gobex-header.c
|
|
@@ -554,7 +554,7 @@ int main(int argc, char *argv[])
|
|
test_header_encode_name_umlaut);
|
|
g_test_add_func("/gobex/test_header_encode_body",
|
|
test_header_encode_body);
|
|
- g_test_add_func("/gobex/test_header_encode_connid",
|
|
+ g_test_add_func("/gobex/test_header_encode_actionid",
|
|
test_header_encode_actionid);
|
|
g_test_add_func("/gobex/test_header_encode_apparam",
|
|
test_header_encode_apparam);
|
|
--
|
|
2.5.0
|
|
|