GNOME Bugzilla – Bug 656127
running tests leaves lots of coredumps
Last modified: 2018-05-24 13:17:08 UTC
If coredumps are enabled then running `make check' in GLib produces over 90 coredumps in various `tests' subdirectories even if all tests succeed. This is due to forked tests that are expected to abort (which subsequently checked by g_test_trap_assert_failed()). This is not specific to the GLib test suite; any gtester test suite containing tests that are supposed to abort will behave the same. It is easy to disable coredumps, however, enabling them while running tests is useful in case something fails *unexpectedly*. So the tests should dump core only if this unexpected failure happens and not when everything goes as expected. Steps to reproduce: 1. git clone git://git.gnome.org/glib 2. cd glib 3. ./autogen.sh 4. make 5. make check 6. find . -name 'core*' Expected results: All tests pass and no coredumps are left. Actual results: All tests pass and 93 coredumps are left.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/436.