Skip to content
  • alpine-mips-patches's avatar
    community/libfm: fix tests · 8727ae44
    alpine-mips-patches authored
    On edge check() fails with the following message:
    
    make[3]: Entering directory '/home/room/aports/community/libfm/src/libfm-1.3.0.2/src/tests'
    make  check-local
    make[4]: Entering directory '/home/room/aports/community/libfm/src/libfm-1.3.0.2/src/tests'
    TEST: fm-path... (pid=28635)
    
    ** (process:28635): WARNING **: 11:58:23.519: The directory '~/Templates' doesn't exist, ignoring it
    Tests were compiled with G_DISABLE_ASSERT and are likely no-ops. Aborting.
    FAIL: fm-path
    
    The message is printed by the g_test_init() macro from glib-2.0/glib/gtestutils.h
    because src/tests/test-fm-path.c #undef's G_DISABLE_ASSERT too late. Move #undef
    earlier in the code to fix the problem and make test pass on x86_64 and mipsel at
    least.
    8727ae44