[totem-pl-parser] tests: Fix a compile-time warning



commit 398ce7a6bb1290436d43609a1ff888bc2db2fda4
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 7 22:56:44 2012 +0100

    tests: Fix a compile-time warning
    
    Best return from the test than not compile it.

 plparse/tests/parser.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index b47b6c8..38b2fef 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -527,6 +527,9 @@ static void
 test_parsing_xspf_xml_base (void)
 {
 	char *uri;
+
+	return;
+
 	uri = get_relative_uri (TEST_SRCDIR "xml-base.xspf");
 	/* FIXME: The URL is incorrect here as we're not on HTTP, but
 	 * the parsing is incorrect as well, as we ignore xml:base:
@@ -1162,7 +1165,7 @@ main (int argc, char *argv[])
 		g_test_add_func ("/parser/parsing/num_items_in_pls", test_parsing_num_entries);
 		g_test_add_func ("/parser/parsing/xspf_genre", test_parsing_xspf_genre);
 		g_test_add_func ("/parser/parsing/xspf_escaping", test_parsing_xspf_escaping);
-/*		g_test_add_func ("/parser/parsing/xspf_xml_base", test_parsing_xspf_xml_base); */
+		g_test_add_func ("/parser/parsing/xspf_xml_base", test_parsing_xspf_xml_base);
 		g_test_add_func ("/parser/parsing/itms_link", test_itms_parsing);
 		g_test_add_func ("/parser/parsing/lastfm-attributes", test_lastfm_parsing);
 		g_test_add_func ("/parser/parsing/m3u_separator", test_m3u_separator);



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