Fix regression tests.

This commit is contained in:
marcm 2004-01-03 05:51:32 +00:00
parent 197f204abe
commit 5e370f27b0
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-glade_glade-xml_c,v 1.1 2004/01/03 05:51:32 marcm Exp $
--- glade/glade-xml.c.orig 2003-12-14 21:13:34.000000000 -0800
+++ glade/glade-xml.c 2003-12-14 21:14:27.000000000 -0800
@@ -991,7 +991,7 @@ default_custom_handler(GladeXML *xml, gc
allsymbols = g_module_open(NULL, 0);
if (g_module_symbol(allsymbols, func_name, (gpointer)&func))
return (* func)(name, string1, string2, int1, int2);
- g_warning("could not find widget creation function");
+ g_warning("could not find widget creation function: %s", func_name);
return NULL;
}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-tests_Makefile_in,v 1.1 2004/01/03 05:51:32 marcm Exp $
--- tests/Makefile.in.orig 2004-01-02 21:14:11.000000000 -0800
+++ tests/Makefile.in 2004-01-02 21:14:14.000000000 -0800
@@ -110,7 +110,7 @@ install_sh = @install_sh@
check_PROGRAMS = test-libglade-gtk test-value-parse
TESTS = $(python_tests) test-value-parse
-TESTS_ENVIRONMENT = PYTHON=$(PYTHON)
+@HAVE_PYTHON_TRUE@TESTS_ENVIRONMENT = PYTHON=$(PYTHON)
INCLUDES = -I$(top_srcdir) $(LIBGLADE_CFLAGS)

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-tests_test-value-parse_c,v 1.1 2004/01/03 05:51:32 marcm Exp $
--- tests/test-value-parse.c.orig 2004-01-02 21:37:33.000000000 -0800
+++ tests/test-value-parse.c 2004-01-02 21:37:50.000000000 -0800
@@ -7,8 +7,7 @@ int
main(int argc, char **argv)
{
if (!gtk_init_check(&argc, &argv)) {
- g_message("Could not init gtk. Skipping test");
- return 77; /* magic value to ignore test */
+ g_message("Could not init gtk.");
}
g_print ("Testing string to enum... ");