
add_test(NAME python-ctypes COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/ctypes_test.py $<TARGET_FILE:oftr>)
set_tests_properties(python-ctypes PROPERTIES TIMEOUT 10)


if(LIBOFP_FSANITIZE)
  message(STATUS "python-ctypes test disabled because AddressSanitizer is in use.")
else()
  add_test(NAME python-ctypes COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/ctypes_test.py $<TARGET_FILE:oftr>)
  set_tests_properties(python-ctypes PROPERTIES TIMEOUT 10)
endif()

Disable python-ctypes test when AddressSanitizer is being used.
Disable python-ctypes test when AddressSanitizer is being used.
