]> git.draconx.ca Git - rrace.git/commit
tests: Skip reference RNG test on old compilers.
authorNick Bowler <nbowler@draconx.ca>
Sun, 7 Jan 2024 03:34:22 +0000 (22:34 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 7 Jan 2024 03:34:22 +0000 (22:34 -0500)
commitbbc28a6dec903c362ed1249ca3b31b26e0d44c15
tree4d5b81e62d08c7aba8d7d857cb80f9780079de72
parent46cf1b673efc9fb9cb84c70a86024d76762c3444
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.
Makefile.am
configure.ac
t/rng-test.c
tests/game.at