]> 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>
Thu, 18 Jan 2024 08:29:17 +0000 (09:29 +0100)
commitd6faee5b5df14792f1ac9fe209d563bb89c39525
tree21c08b45258eaa38c0a2e291babfb3b9ac16d72c
parent574332087a176419f4cfc97cce692199137622c8
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