SWI-Prolog / packages-pcre

SWI-Prolog package for access to Perl Regular Expressions
5 stars 7 forks source link

TESTS: Fixed tests to work on systems without pcre2 jit #19

Closed kamahen closed 2 years ago

kamahen commented 2 years ago

Problem was reported: https://swi-prolog.discourse.group/t/rtools42-unit-test-for-pcre/5224

kamahen commented 2 years ago

I forgot to merge the latest head when I made my changes; and when I tried to squash the commits, I got weird conflicts. I don't have time to figure this out; I've taken care of the conflicts in this PR, so it should all be good, but with one extra commit (perhaps you'll be able to squash if this matters).

JanWielemaker commented 2 years ago

Thanks! I know my git tricks. Now on the M1 :smile:

jan-m1 ~/src/swipl-devel/build master > ctest -R pcre
Test project /Users/jan/src/swipl-devel/build
    Start 72: pcre:pcre
1/1 Test #72: pcre:pcre ........................   Passed    0.08 sec

100% tests passed, 0 tests failed out of 1