Skip to content
Snippets Groups Projects

params/mirrors cleaning + usable test suite (issues #11 and #10)

Merged Boman Romain requested to merge testsuite into master
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -7,7 +7,9 @@ MACRO(MACRO_AddTest srcDir)
#message(STATUS "tfiles=${tfiles}")
foreach(tfile ${tfiles})
set(spath ${srcDir}/${tfile})
if(NOT IS_DIRECTORY ${spath} AND ${spath} MATCHES ".+\\.py$")
if(NOT IS_DIRECTORY ${spath} AND
${spath} MATCHES ".+\\.py$" AND
NOT ${tfile} STREQUAL "__init__.py")
string(REPLACE "${PROJECT_SOURCE_DIR}/" "" strip ${spath})
message(STATUS "Adding test ${strip}")
add_test(NAME ${strip}
Loading