From 88e3a4f3bc4a4f4f93a9e17c186eac4822579e7c Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Thu, 5 Sep 2024 20:20:46 +0200 Subject: [PATCH] skip build test-arg-parser on windows --- tests/test-arg-parser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test-arg-parser.cpp b/tests/test-arg-parser.cpp index ff1a626c39761..f3e24e9d8ec10 100644 --- a/tests/test-arg-parser.cpp +++ b/tests/test-arg-parser.cpp @@ -8,6 +8,9 @@ #include "common.h" int main(void) { +#ifdef _WIN32 + printf("test-arg-parser: skip on windows build\n"); +#else gpt_params params; printf("test-arg-parser: make sure there is no duplicated arguments in any examples\n\n"); @@ -88,4 +91,5 @@ int main(void) { printf("test-arg-parser: all tests OK\n\n"); +#endif // __MINGW32__ }