[v3,1/2] test: disable non-C11 atomic tests for MSVC
Checks
Commit Message
In general, non-C11 atomics are not to be used with MSVC.
This patch skips the non-C11 atomic tests when using MSVC.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
---
app/test/test_atomic.c | 2 ++
1 file changed, 2 insertions(+)
@@ -20,6 +20,7 @@
#include "test.h"
+#ifndef RTE_TOOLCHAIN_MSVC
/*
* Atomic Variables
* ================
@@ -632,3 +633,4 @@ test_atomic(void)
return 0;
}
REGISTER_FAST_TEST(atomic_autotest, false, true, test_atomic);
+#endif /* RTE_TOOLCHAIN_MSVC */