1CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/run.tpl
2               ${CMAKE_CURRENT_BINARY_DIR}/run)
3
4SET(TEST_FILES
5  00-prepare.t
6  01-collation.t
7  01-headers.t
8  01-load.t
9  #02-old-index-cleanup.t
10  03-db-compaction-file-leaks.t
11  05-replicas-transfer.t
12  06-main-compaction.t
13  07-replica-compaction.t
14  08-deletes-cleanup.t
15  09-deletes-cleanup-many-views.t
16  10-updates-cleanup.t
17  11-updates-cleanup-many-views.t
18  12-errors.t
19  13-progressive-cleanup.t
20  14-duplicated-keys-per-doc.t
21  15-passive-partitions.t
22  16-pending-transition.t
23  17-unindexable-partitions.t
24  18-monitor-partition-updates.t
25  19-compaction-retry.t
26  20-debug-params.t
27  21-updater-cleanup.t
28  22-compactor-cleanup.t
29  23-replica-group-missing.t
30  24-updater-add-more-passive-partitions.t
31  25-util-stats.t
32  26-multiple-reductions.t
33  27-dev-views.t
34  28-big-reduce.t
35  29-rollback.t
36  #30-query-fdleaks.t
37  31-ryow-query.t
38  32-upgrade.t
39  33-dcp-duplicates.t
40  34-truncate.t
41  35-meta-params.t
42  35-partition-versions.t
43  36-write-guard.t)
44
45FOREACH (it ${TEST_FILES})
46   GET_FILENAME_COMPONENT(testname ${it} NAME_WE)
47   GET_FILENAME_COMPONENT(fullpath ${it} REALPATH)
48   ADD_TEST(couchdb-couch_set_view-${testname} ${PYTHON_EXECUTABLE}
49     ${COUCHDB_RUNTEST} -c ${COUCHSTORE_BIN_PATH} -p ${COUCHDB_BIN_PATH}/src
50     -m couch_set_view/test -e ${ESCRIPT_EXECUTABLE} -t ${fullpath} --verbose)
51ENDFOREACH (it)
52
53ERL_BUILD(APPNAME "couch_set_view_test" SOURCES couch_set_view_test_util.erl)
54