Page MenuHomeFreeBSD

devel/glib20: Add option for test suite / unit tests
ClosedPublic

Authored by diizzy on Aug 26 2021, 10:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 2:52 AM
Unknown Object (File)
Sun, Dec 8, 2:11 AM
Unknown Object (File)
Wed, Nov 27, 10:33 AM
Unknown Object (File)
Mon, Nov 25, 7:03 AM
Unknown Object (File)
Mon, Nov 25, 7:03 AM
Unknown Object (File)
Mon, Nov 25, 7:02 AM
Unknown Object (File)
Mon, Nov 25, 7:02 AM
Unknown Object (File)
Mon, Nov 25, 6:46 AM
Subscribers
None

Details

Summary

Don't build tests by default, the reduces time spent on compiling substantially (~450 objects vs ~1200)
Add dependency for test suite / unit tests

Test Plan

Compile and tested on FreeBSD 13.0-STABLE #0 stable/13-n246086-a20c597c6d7 (amd64) (make, make check-plist, make test)

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

diizzy created this revision.
devel/glib20/files/patch-gio_tests_meson.build
8

You are patching out some tests? Why? Are they failing at the moment?

devel/glib20/files/patch-gio_tests_meson.build
8

there is a circular dependency otherwise as they require applications provided by ports using glib themselves.

The only issue (afaik) this that one error in tests that I'm not sure on how to handle, any ideas?

The only issue (afaik) this that one error in tests that I'm not sure on how to handle, any ideas?

Is this issue also present on the glib CI?
Maybe you could open an issue upstream.

The only issue (afaik) this that one error in tests that I'm not sure on how to handle, any ideas?

Is this issue also present on the glib CI?
Maybe you could open an issue upstream.

Hi,

I can't seem to find that test in their CI at all and not any obvious commit related so I've opened an issue at upstream.
https://gitlab.gnome.org/GNOME/glib/-/issues/2488

diizzy edited the test plan for this revision. (Show Details)

Refresh with 2.70.0
Backport upstream commit 75c854b359b8bd8b78938e51e5a2c7a42e5847ae

Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2276

This revision is now accepted and ready to land.Oct 2 2021, 6:45 AM
This revision was automatically updated to reflect the committed changes.