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)
Sat, Apr 6, 3:22 AM
Unknown Object (File)
Feb 10 2024, 9:43 AM
Unknown Object (File)
Feb 10 2024, 9:42 AM
Unknown Object (File)
Feb 10 2024, 9:04 AM
Unknown Object (File)
Feb 4 2024, 10:17 PM
Unknown Object (File)
Jan 13 2024, 7:05 AM
Unknown Object (File)
Jan 7 2024, 4:40 PM
Unknown Object (File)
Dec 26 2023, 1:07 PM
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.