1.99.0: test suite fails
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs /usr/lib/python3.8/site-packages/mesonbuild/dependencies/base.py:1979: SyntaxWarning: "is not" with a literal. Did you mean "!="? if os.name is not 'nt': ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/libpeas-1.23.90/x86_64-redhat-linux-gnu' ninja: no work to do. 1/8 test-engine OK 0.06 s 2/8 test-extension-c OK 0.20 s 3/8 test-extension-set OK 0.04 s 4/8 test-plugin-info OK 0.05 s 5/8 test-extension-py OK 10.28 s 6/8 test-plugin-manager FAIL 0.04 s (exit status 1) 7/8 test-plugin-manager-store FAIL 0.04 s (exit status 1) 8/8 test-plugin-manager-view FAIL 0.03 s (exit status 1) Ok: 5 Expected Fail: 0 Fail: 3 Unexpected Pass: 0 Skipped: 0 Timeout: 0 The output from the failed tests: 6/8 test-plugin-manager FAIL 0.04 s (exit status 1) --- command --- /home/tkloczko/rpmbuild/BUILD/libpeas-1.23.90/x86_64-redhat-linux-gnu/tests/libpeas-gtk/plugin-manager --- stderr --- Tests were compiled with G_DISABLE_ASSERT and are likely no-ops. Aborting. ------- 7/8 test-plugin-manager-store FAIL 0.04 s (exit status 1) --- command --- /home/tkloczko/rpmbuild/BUILD/libpeas-1.23.90/x86_64-redhat-linux-gnu/tests/libpeas-gtk/plugin-manager-store --- stderr --- Tests were compiled with G_DISABLE_ASSERT and are likely no-ops. Aborting. ------- 8/8 test-plugin-manager-view FAIL 0.03 s (exit status 1) --- command --- /home/tkloczko/rpmbuild/BUILD/libpeas-1.23.90/x86_64-redhat-linux-gnu/tests/libpeas-gtk/plugin-manager-view --- stderr --- Tests were compiled with G_DISABLE_ASSERT and are likely no-ops. Aborting. ------- Full log written to /home/tkloczko/rpmbuild/BUILD/libpeas-1.23.90/x86_64-redhat-linux-gnu/meson-logs/testlog.txt error: Bad exit status from /var/tmp/rpm-tmp.jlBPbQ (%check)
Looks like incorrect using assertions
[tkloczko@barrel tests]$ grep g_assert -wr| wc -l 219
g_assert() should not be used in tests because it can be disabled by compile with -DG_DISABLE_ASSERT. Instead other g_assert_*() functions should be used. https://developer.gnome.org/glib/stable/glib-Testing.html#g-assert