mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
tests: Don't drop chdir()'s return value on the floor
Avoid a compile time warning, and ensure that the test suite is actually doing its job.
This commit is contained in:
parent
fef179b625
commit
20ad839075
@ -552,7 +552,7 @@ main (int argc, char **argv)
|
||||
* is the same as the reftest data, because we're using the
|
||||
* "file" property of GtkImage as a relative path in builder files.
|
||||
*/
|
||||
chdir (basedir);
|
||||
g_assert (chdir (basedir) == 0);
|
||||
|
||||
g_log_set_writer_func (log_writer, NULL, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user