diff options
author | Michael Schroeder <mls@suse.de> | 2012-02-21 18:27:07 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-02-21 18:27:07 +0100 |
commit | 7eb4102e3eebb5518c4945ed8c44eb21c06456de (patch) | |
tree | 694ac5c524c5741d72fb6d59e84d7e06ff6973f2 /test | |
parent | 94a7eb54d748c75e165c30a4946e32afedd8eb51 (diff) | |
download | libsolv-7eb4102e3eebb5518c4945ed8c44eb21c06456de.tar.gz libsolv-7eb4102e3eebb5518c4945ed8c44eb21c06456de.tar.bz2 libsolv-7eb4102e3eebb5518c4945ed8c44eb21c06456de.zip |
- ignore README and .git ;)
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0dcfd1a..92a5e7a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,9 +1,11 @@ FOREACH(tcdir testcases libsolv-zypptestcases) IF(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${tcdir}") - FILE(GLOB dirs "${CMAKE_CURRENT_SOURCE_DIR}/${tcdir}/*") + FILE(GLOB dirs "${CMAKE_CURRENT_SOURCE_DIR}/${tcdir}/[_a-zA-Z0-9]*") FOREACH(dir ${dirs}) - FILE(RELATIVE_PATH myname "${CMAKE_CURRENT_SOURCE_DIR}/${tcdir}" ${dir}) - ADD_TEST(${myname} ${CMAKE_CURRENT_SOURCE_DIR}/runtestcases ${CMAKE_BINARY_DIR}/tools/testsolv ${dir}) + IF(IS_DIRECTORY ${dir}) + FILE(RELATIVE_PATH myname "${CMAKE_CURRENT_SOURCE_DIR}/${tcdir}" ${dir}) + ADD_TEST(${myname} ${CMAKE_CURRENT_SOURCE_DIR}/runtestcases ${CMAKE_BINARY_DIR}/tools/testsolv ${dir}) + ENDIF(IS_DIRECTORY ${dir}) ENDFOREACH(dir) ENDIF(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${tcdir}") ENDFOREACH(tcdir) |