We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b031eed commit 8852b66Copy full SHA for 8852b66
src/CMakeLists.txt
@@ -157,6 +157,14 @@ macro(build_pycsdiff version boost_python_lib_names)
157
158
install(TARGETS pycsdiff_py${version}
159
DESTINATION ${Python${version}_SITEARCH})
160
+
161
+ # TODO: support running pycsdiff with sanitizers
162
+ if(NOT SANITIZERS)
163
+ # assert that the library is usable
164
+ add_test(NAME "pycsdiff_py${version}"
165
+ COMMAND ${Python${version}_EXECUTABLE} -c "import pycsdiff"
166
+ WORKING_DIRECTORY $<TARGET_FILE_DIR:pycsdiff_py${version}>)
167
+ endif()
168
endmacro()
169
170
if(PYCSDIFF_PYTHON2)
0 commit comments