Skip to content

Commit

Permalink
Merge pull request #897 from OpenGeoscience/cmake-cleanup
Browse files Browse the repository at this point in the history
Clean up unused code from CMakeLists
  • Loading branch information
zachmullen authored Aug 16, 2018
2 parents d4f29fa + 96747b1 commit b3f521b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 55 deletions.
16 changes: 0 additions & 16 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,6 @@ if(NOT NPM_EXECUTABLE)
message(FATAL_ERROR "npm is required for many tests")
endif()

function(add_geojs_test test_name)
add_test(
NAME "${test_name}"
WORKING_DIRECTORY "${GEOJS_DEPLOY_DIR}"
COMMAND ${PYTHON_EXECUTABLE}
${CMAKE_CURRENT_BINARY_DIR}/test/geojs_test_runner.py
${ARGN}
)
set_property(TEST "${test_name}" APPEND PROPERTY DEPENDS "notes-reset")
set_property(TEST "notes-report" APPEND PROPERTY DEPENDS "${test_name}")
endfunction()

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tests/runners/geojs_test_runner.py.in
${CMAKE_CURRENT_BINARY_DIR}/test/geojs_test_runner.py
)

# Generate notes to send along with the test reports
add_test(
NAME "notes-reset"
Expand Down
39 changes: 0 additions & 39 deletions tests/runners/geojs_test_runner.py.in

This file was deleted.

0 comments on commit b3f521b

Please sign in to comment.