Skip to content

Commit

Permalink
Move coding norms setup to a separate block
Browse files Browse the repository at this point in the history
  • Loading branch information
yaswant committed Aug 5, 2024
1 parent faee0c3 commit e51da0e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,18 @@ foreach(FILENAME ${monio_testinput})
${CMAKE_CURRENT_BINARY_DIR}/${FILENAME})
endforeach(FILENAME)

if(NOT IS_DIRECTORY "${MONIO_TESTFILES_DIR}")
message(WARNING "MONIO_TESTFILES_DIR=${MONIO_TESTFILES_DIR}: no such directory")
return()
endif()


ecbuild_add_test(TARGET monio_coding_norms
TYPE SCRIPT
COMMAND ${CMAKE_BINARY_DIR}/bin/monio_cpplint.py
ARGS --quiet --recursive
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/test)

if(NOT IS_DIRECTORY "${MONIO_TESTFILES_DIR}")
message(WARNING "MONIO_TESTFILES_DIR=${MONIO_TESTFILES_DIR}: no such directory")
return()
endif()

ecbuild_add_test(TARGET test_monio_fieldset_write
SOURCES mains/TestFieldSetWrite.cc
ARGS "testinput/fieldset_write.yaml"
Expand Down

0 comments on commit e51da0e

Please sign in to comment.