Skip to content

Commit ea731fd

Browse files
authored
Enable CI testing for long options (#2305)
1 parent 73af06c commit ea731fd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ci/config-gmt-unix.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ set (DO_API_TESTS ON)
3030
set (N_TEST_JOBS 2)
3131
set (SUPPORT_EXEC_IN_BINARY_DIR TRUE)
3232
set (CMAKE_C_FLAGS "-coverage -O0 ${CMAKE_C_FLAGS}")
33+
34+
# Turn on testing of upcoming long-option syntax for common GMT options
35+
add_definitions(-DUSE_COMMON_LONG_OPTIONS)
36+
# Turn on testing of upcoming long-option syntax for module options
37+
add_definitions(-DUSE_MODULE_LONG_OPTIONS)
3338
EOF
3439
fi
3540

ci/config-gmt-windows.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ set (DO_EXAMPLES TRUE)
2424
set (DO_TESTS TRUE)
2525
set (DO_API_TESTS ON)
2626
set (SUPPORT_EXEC_IN_BINARY_DIR TRUE)
27+
28+
# Turn on testing of upcoming long-option syntax for common GMT options
29+
add_definitions(-DUSE_COMMON_LONG_OPTIONS)
30+
# Turn on testing of upcoming long-option syntax for module options
31+
add_definitions(-DUSE_MODULE_LONG_OPTIONS)
2732
EOF
2833
fi
2934

0 commit comments

Comments
 (0)