summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-02-21 18:27:07 +0100
committerMichael Schroeder <mls@suse.de>2012-02-21 18:27:07 +0100
commit7eb4102e3eebb5518c4945ed8c44eb21c06456de (patch)
tree694ac5c524c5741d72fb6d59e84d7e06ff6973f2 /test
parent94a7eb54d748c75e165c30a4946e32afedd8eb51 (diff)
downloadlibsolv-7eb4102e3eebb5518c4945ed8c44eb21c06456de.tar.gz
libsolv-7eb4102e3eebb5518c4945ed8c44eb21c06456de.tar.bz2
libsolv-7eb4102e3eebb5518c4945ed8c44eb21c06456de.zip
- ignore README and .git ;)
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt8
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)