From: Nick Bowler Date: Sun, 7 Jan 2024 03:34:22 +0000 (-0500) Subject: tests: Skip reference RNG test on old compilers. X-Git-Url: https://git.draconx.ca/gitweb/rrace.git/commitdiff_plain/bbc28a6dec903c362ed1249ca3b31b26e0d44c15?ds=inline;hp=bbc28a6dec903c362ed1249ca3b31b26e0d44c15 tests: Skip reference RNG test on old compilers. The reference implementation for xoshiro256** uses C99-style for loop declarations, which cannot be compiled on some implementations (incl. all versions of GCC in gnu89 mode). Rather than changing the reference code (which kinda defeats the point) arrange for the test to be skipped unless compiler support is available. ---