Skip to content

test: test_async: test failed (Invalid argument [22]) #1164

@robert-scheck

Description

@robert-scheck

For the first time, I'm running test/retest from re v3.14.0 after the actual Fedora build. Unfortunately, TEST(test_async) fails in the Fedora build system like this:

+ redhat-linux-build/test/retest -d test/data/ -v -r
regular tests:       
async: TEST_EQUALS: /builddir/build/BUILD/libre-3.14.0-build/re-3.14.0/test/async.c:107: test_re_thread_async(): expected=0(0x0), actual=99(0x63)
�[;mretest: libre version 3.14.0 (x86_64/Linux)
using async polling method 'epoll'
using datapath 'test/data/'
test 0 -- test_aac
test 1 -- test_aes
test 2 -- test_aes_gcm
test 3 -- test_aubuf
test 4 -- test_aulength
test 5 -- test_aulevel
test 6 -- test_auposition
test 7 -- test_auresamp
test 8 -- test_async
async: TEST_ERR: /builddir/build/BUILD/libre-3.14.0-build/re-3.14.0/test/async.c:164: (Invalid argument [22])
�[;mtest: test_async: test failed (Invalid argument [22])
�[;m
retest: TEST_ERR: /builddir/build/BUILD/libre-3.14.0-build/re-3.14.0/test/main.c:238: (Invalid argument [22])

When removing this test from test/test.c, test/retest succeeds. Is there any chance to add a skip in the re source code in case a build system doesn't provide what's needed to run this test?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions