4abaf27765
* Extend mgp_module with include adding functions * Add return type to the function API * Change Cypher grammar * Add Python support for functions * Implement error handling * E2e tests for functions * Write cpp e2e functions * Create mg.functions() procedure * Implement case insensitivity for user-defined Magic Functions.
29 lines
1.0 KiB
CMake
29 lines
1.0 KiB
CMake
function(copy_e2e_python_files TARGET_PREFIX FILE_NAME)
|
|
add_custom_target(memgraph__e2e__${TARGET_PREFIX}__${FILE_NAME} ALL
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/${FILE_NAME}
|
|
${CMAKE_CURRENT_BINARY_DIR}/${FILE_NAME}
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FILE_NAME})
|
|
endfunction()
|
|
|
|
function(copy_e2e_cpp_files TARGET_PREFIX FILE_NAME)
|
|
add_custom_target(memgraph__e2e__${TARGET_PREFIX}__${FILE_NAME} ALL
|
|
COMMAND ${CMAKE_COMMAND} -E copy
|
|
${CMAKE_CURRENT_SOURCE_DIR}/${FILE_NAME}
|
|
${CMAKE_CURRENT_BINARY_DIR}/${FILE_NAME}
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FILE_NAME})
|
|
endfunction()
|
|
|
|
add_subdirectory(replication)
|
|
add_subdirectory(memory)
|
|
add_subdirectory(triggers)
|
|
add_subdirectory(isolation_levels)
|
|
add_subdirectory(streams)
|
|
add_subdirectory(temporal_types)
|
|
add_subdirectory(write_procedures)
|
|
add_subdirectory(magic_functions)
|
|
add_subdirectory(module_file_manager)
|
|
add_subdirectory(websocket)
|
|
|
|
copy_e2e_python_files(pytest_runner pytest_runner.sh "")
|