From dead62d44097383e8f6bde7c17c6d39cf6041d8d Mon Sep 17 00:00:00 2001 From: Anders Dalvander Date: Wed, 20 Nov 2024 14:46:38 +0100 Subject: [PATCH] disable test if fast-math is enabled --- tests/json_fmt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/json_fmt.cpp b/tests/json_fmt.cpp index bf3ccb0..1a2ded0 100644 --- a/tests/json_fmt.cpp +++ b/tests/json_fmt.cpp @@ -158,9 +158,11 @@ int main() { if (main_readme2() != EXIT_SUCCESS) { return EXIT_FAILURE; } +#ifndef __FAST_MATH__ if (main_readme3() != EXIT_SUCCESS) { return EXIT_FAILURE; } +#endif return EXIT_SUCCESS; } \ No newline at end of file