1CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/run.tpl
2               ${CMAKE_CURRENT_BINARY_DIR}/run)
3
4SET(TEST_FILES
5  00-prepare.t
6  01-load.t
7  04-view-groups.t
8  05-couch-dcp-client.t
9  06-rollback.t)
10
11FOREACH (it ${TEST_FILES})
12   GET_FILENAME_COMPONENT(testname ${it} NAME_WE)
13   GET_FILENAME_COMPONENT(fullpath ${it} REALPATH)
14   ADD_TEST(couchdb-couch_dcp-${testname} ${PYTHON_EXECUTABLE}
15     ${COUCHDB_RUNTEST} -c ${COUCHSTORE_BIN_PATH} -p ${COUCHDB_BIN_PATH}/src
16     -m couch_set_view/test -e ${ESCRIPT_EXECUTABLE} -t ${fullpath} --verbose)
17ENDFOREACH (it)
18