]> Savannah Git Hosting - gnulib.git/commit
jit/cache tests: Avoid test failure on OpenBSD.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Jan 2024 20:10:19 +0000 (21:10 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 9 Jan 2024 20:10:19 +0000 (21:10 +0100)
commitfad9741b65410a83e7bb77c121e18b2e8443ff4a
treedc8bce552fa1285ace7447a1a1ccf9a719ec1b39
parentf8504293dc1135c1a6d3badf48641075b3d0b75b
jit/cache tests: Avoid test failure on OpenBSD.

* tests/jit/test-cache.c (return1_code, return2_code): New constants.
(main): On OpenBSD, use return1_code and return2_code instead of
CODE (return1) and CODE (return2), since the latter may not be in a
readable memory area.
ChangeLog
tests/jit/test-cache.c