Skip to content

Commit

Permalink
skip build test-arg-parser on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed Sep 5, 2024
1 parent f5e6a80 commit 88e3a4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test-arg-parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -88,4 +91,5 @@ int main(void) {


printf("test-arg-parser: all tests OK\n\n");
#endif // __MINGW32__
}

0 comments on commit 88e3a4f

Please sign in to comment.