mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
tests: clean up / ignore some more generated files
This commit is contained in:
parent
86866a2a6d
commit
e2655cd455
2
gio/tests/.gitignore
vendored
2
gio/tests/.gitignore
vendored
@ -101,6 +101,7 @@ monitor
|
|||||||
network-address
|
network-address
|
||||||
network-monitor
|
network-monitor
|
||||||
org.gtk.test.enums.xml
|
org.gtk.test.enums.xml
|
||||||
|
org.gtk.test.gschema.xml
|
||||||
permission
|
permission
|
||||||
pollable
|
pollable
|
||||||
plugin_resources.c
|
plugin_resources.c
|
||||||
@ -134,6 +135,7 @@ unix-fd
|
|||||||
unix-streams
|
unix-streams
|
||||||
vfs
|
vfs
|
||||||
volumemonitor
|
volumemonitor
|
||||||
|
xdgconfighome
|
||||||
xdgdatadir
|
xdgdatadir
|
||||||
xdgdatahome
|
xdgdatahome
|
||||||
xgen-gio
|
xgen-gio
|
||||||
|
@ -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}
|
${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
|
||||||
${XMLLINT} --version 2>/dev/null; test "$$?" != 0 || ${XMLLINT} --noout tmpsample.xml
|
${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
|
check-am: gtester-xmllint-check
|
||||||
|
|
||||||
|
@ -63,6 +63,7 @@ test_to_file (void)
|
|||||||
res = g_file_get_contents ("out.xbel", &out, NULL, &error);
|
res = g_file_get_contents ("out.xbel", &out, NULL, &error);
|
||||||
g_assert (res);
|
g_assert (res);
|
||||||
g_assert_no_error (error);
|
g_assert_no_error (error);
|
||||||
|
remove ("out.xbel");
|
||||||
|
|
||||||
g_assert_cmpstr (in, ==, out);
|
g_assert_cmpstr (in, ==, out);
|
||||||
g_free (in);
|
g_free (in);
|
||||||
|
@ -827,6 +827,7 @@ test_read_link (void)
|
|||||||
g_assert_null (path);
|
g_assert_null (path);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
|
|
||||||
|
remove (newpath);
|
||||||
g_free (cwd);
|
g_free (cwd);
|
||||||
g_free (newpath);
|
g_free (newpath);
|
||||||
g_free (badpath);
|
g_free (badpath);
|
||||||
|
@ -1396,6 +1396,7 @@ test_save (void)
|
|||||||
c = g_key_file_get_uint64 (kf2, "bees", "c", NULL);
|
c = g_key_file_get_uint64 (kf2, "bees", "c", NULL);
|
||||||
g_assert (c == G_GUINT64_CONSTANT (123456789123456789));
|
g_assert (c == G_GUINT64_CONSTANT (123456789123456789));
|
||||||
|
|
||||||
|
remove (file);
|
||||||
g_free (file);
|
g_free (file);
|
||||||
g_key_file_free (kf);
|
g_key_file_free (kf);
|
||||||
g_key_file_free (kf2);
|
g_key_file_free (kf2);
|
||||||
|
Loading…
Reference in New Issue
Block a user