Opened 36 hours ago

Last modified 3 hours ago

#21278 assigned enhancement

mutter-48.0

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 12.4
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (7)

comment:1 by Douglas R. Reno, 35 hours ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Xi Ruoyao, 4 hours ago

Depends on a new libei (#21010).

comment:3 by Xi Ruoyao, 4 hours ago

-D bash_completion=false is needed to avoid extra dependencies.

comment:4 by Xi Ruoyao, 4 hours ago

The entire test suite needs debug instrumenting now. Thus we need to move the test after installation and use meson configure -D tests=enabled -D debug=true.

in reply to:  4 ; comment:5 by Xi Ruoyao, 4 hours ago

Replying to Xi Ruoyao:

The entire test suite needs debug instrumenting now. Thus we need to move the test after installation and use meson configure -D tests=enabled -D debug=true.

Oh no, we want the optional libmutter-test-16.so for gnome-shell tests. Thus it'd be something like

meson configure -D tests=enabled && ninja # if having dbusmock

ninja install # install

meson configure -D debug=true && ninja test # for testing

in reply to:  5 comment:6 by Xi Ruoyao, 4 hours ago

Replying to Xi Ruoyao:

Replying to Xi Ruoyao:

The entire test suite needs debug instrumenting now. Thus we need to move the test after installation and use meson configure -D tests=enabled -D debug=true.

Oh no, we want the optional libmutter-test-16.so for gnome-shell tests. Thus it'd be something like

meson configure -D tests=enabled && ninja # if having dbusmock

ninja install # install

meson configure -D debug=true && ninja test # for testing

Still incorrect, libmutter-test-16.so needs debug to be enabled or it won't work for gnome-shell :(.

comment:7 by Xi Ruoyao, 3 hours ago

Alright, it's simple:

sed "/tests_c_args =/s/$/ + ['-U', 'G_DISABLE_ASSERT']/" -i src/tests/meson.build
sed "/c_args:/a '-U', 'G_DISABLE_ASSERT'," -i src/tests/cogl/unit/meson.build

with this mutter tests are almost fine, and libmutter-test-16.so works fine for gnome-shell. Maybe we should submit this to upstream.

Note: See TracTickets for help on using tickets.