Renamed yaml-reader test

This commit is contained in:
jbeder
2009-10-27 14:38:53 +00:00
parent 47628bf25e
commit 7d5988401e
13 changed files with 11 additions and 15 deletions

View File

@@ -67,6 +67,6 @@ if(UNIX)
endif(UNIX)
if(YAML_CPP_BUILD_TOOLS)
add_subdirectory (yaml-reader)
add_subdirectory (test)
add_subdirectory (util)
endif(YAML_CPP_BUILD_TOOLS)

10
test/CMakeLists.txt Normal file
View File

@@ -0,0 +1,10 @@
file(GLOB test_headers [a-z]*.h)
file(GLOB test_sources [a-z]*.cpp)
add_executable(run-tests
${test_sources}
${test_headers}
)
target_link_libraries(run-tests yaml-cpp)
add_test(yaml-reader-test run-tests)

View File

@@ -1,10 +0,0 @@
file(GLOB yaml-reader_headers [a-z]*.h)
file(GLOB yaml-reader_sources [a-z]*.cpp)
add_executable(yaml-reader
${yaml-reader_sources}
${yaml-reader_headers}
)
target_link_libraries(yaml-reader yaml-cpp)
add_test(yaml-reader-test yaml-reader)

View File

@@ -1,4 +0,0 @@
--- &list
- This document contains a recursive list.
- *list
...