Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fe68d597 authored by David Parsons's avatar David Parsons
Browse files

Do not run lint on test sources

parent 09be58f1
No related branches found
No related tags found
No related merge requests found
......@@ -97,11 +97,6 @@ endforeach (UNIT_TEST)
# ============================================================================
find_package(Cpplint) # sets CPPLINT_FOUND and CPPLINT_PROGRAM
if (CPPLINT_FOUND)
# List unit test source files
foreach (UNIT_TEST IN LISTS UNIT_TESTS)
list(APPEND UNIT_TEST_SOURCE_FILES ${hglib_SOURCE_DIR}/test/${UNIT_TEST}.cpp)
endforeach (UNIT_TEST)
add_custom_target(run_cpplint
COMMAND cpplint --extensions=h,hpp,cpp
# filter runtime/explicit: requires explicit one argument constructor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment