tests: clean up / ignore some more generated files

This commit is contained in:
Dan Winship 2015-04-04 10:00:39 -04:00
parent 86866a2a6d
commit e2655cd455
5 changed files with 6 additions and 1 deletions

View File

@ -101,6 +101,7 @@ monitor
network-address
network-monitor
org.gtk.test.enums.xml
org.gtk.test.gschema.xml
permission
pollable
plugin_resources.c
@ -134,6 +135,7 @@ unix-fd
unix-streams
vfs
volumemonitor
xdgconfighome
xdgdatadir
xdgdatahome
xgen-gio

View File

@ -193,7 +193,7 @@ gtester-xmllint-check: # check testreport xml with xmllint if present
${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
${XMLLINT} --version 2>/dev/null; test "$$?" != 0 || ${XMLLINT} --noout tmpsample.xml
CLEANFILES += tmpsample.xml key_file_* out.xbel
CLEANFILES += tmpsample.xml
check-am: gtester-xmllint-check

View File

@ -63,6 +63,7 @@ test_to_file (void)
res = g_file_get_contents ("out.xbel", &out, NULL, &error);
g_assert (res);
g_assert_no_error (error);
remove ("out.xbel");
g_assert_cmpstr (in, ==, out);
g_free (in);

View File

@ -827,6 +827,7 @@ test_read_link (void)
g_assert_null (path);
g_error_free (error);
remove (newpath);
g_free (cwd);
g_free (newpath);
g_free (badpath);

View File

@ -1396,6 +1396,7 @@ test_save (void)
c = g_key_file_get_uint64 (kf2, "bees", "c", NULL);
g_assert (c == G_GUINT64_CONSTANT (123456789123456789));
remove (file);
g_free (file);
g_key_file_free (kf);
g_key_file_free (kf2);