Skip to content

Commit

Permalink
Disable testflows for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
alesapin committed Sep 16, 2024
1 parent 130d86c commit 02c86a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ foreach (test_dsn ${TEST_DSN_LIST})
("${ODBC_PROVIDER}" STREQUAL "iODBC" AND PYTHON3_USES_IODBC)
))
add_test(NAME "test.py-3-dsn-${test_dsn_counter}" COMMAND ${PYTHON3} ${CMAKE_CURRENT_SOURCE_DIR}/test.py "${test_dsn}")
if(NOT test_dsn MATCHES "RBWNAT") # TODO: a shaky way of detecting a RowBinaryWithNamesAndTypes-enabled DSN and disabling parametrized-regression.py for it, until fixed.

# FIXME: Rewrite testflows with pytest
if(NOT test_dsn MATCHES "RBWNAT" AND NOT OS_DARWIN) # TODO: a shaky way of detecting a RowBinaryWithNamesAndTypes-enabled DSN and disabling parametrized-regression.py for it, until fixed.
add_test(NAME "parametrized-regression.py-3-dsn-${test_dsn_counter}" COMMAND ${CMAKE_COMMAND} -E env "DSN=${test_dsn}" ${PYTHON3} ${CMAKE_CURRENT_SOURCE_DIR}/parameterized/regression.py)
endif()
endif()
Expand Down

0 comments on commit 02c86a8

Please sign in to comment.