mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
JSON: Adding ctest
This commit adds node based tests provided by Nico to the ctest framework already established in UPM. Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@ -74,3 +74,11 @@ if (BUILDSWIGPYTHON AND PYTHON3INTERP_FOUND)
|
||||
${CMAKE_SOURCE_DIR}/examples/python/*.py
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/)
|
||||
endif (BUILDSWIGPYTHON AND PYTHON3INTERP_FOUND)
|
||||
|
||||
# add JSON test
|
||||
if(NPM_EXECUTABLE)
|
||||
add_test (NAME check_jsons COMMAND ${CMAKE_COMMAND}
|
||||
-DNPMEXEC=${NPM_EXECUTABLE}
|
||||
-DUPMBASEDIR=${CMAKE_SOURCE_DIR}
|
||||
-P ${CMAKE_SOURCE_DIR}/tests/runjsontest.cmake)
|
||||
endif(NPM_EXECUTABLE)
|
||||
|
Reference in New Issue
Block a user