Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (45 sloc) 1.96 kb
43493ae @kbatten Add a makefile to create a distributable version of testrunner
kbatten authored
1 DIST_DIR=./dist
fb8381d @kbatten produce an archive based on new directories, files
kbatten authored
2 DIRS=b conf lib longevity pytests resources scripts unittests
3 FILES=Makefile README TestInput.py
2629523 @farshidce CBQE-538: add SLEEP_TIME param to Makefile
farshidce authored
4 SLEEP_TIME=3
43493ae @kbatten Add a makefile to create a distributable version of testrunner
kbatten authored
5
fb8381d @kbatten produce an archive based on new directories, files
kbatten authored
6 .PHONY: clean testrunner test test-quick
43493ae @kbatten Add a makefile to create a distributable version of testrunner
kbatten authored
7
8 testrunner:
fb8381d @kbatten produce an archive based on new directories, files
kbatten authored
9 mkdir -p ${DIST_DIR}/testrunner
10 tar -cvf ${DIST_DIR}/testrunner.tar --exclude='*.pyc' ${DIRS} ${FILES}
11 tar -C ${DIST_DIR}/testrunner -xvf ${DIST_DIR}/testrunner.tar
12 rm -f ${DIST_DIR}/testrunner.tar
13 tar -C ${DIST_DIR} -czvf ${DIST_DIR}/testrunner.tar.gz testrunner
43493ae @kbatten Add a makefile to create a distributable version of testrunner
kbatten authored
14
15 clean:
16 rm -rf ${DIST_DIR}
99bfd5f @kbatten add cluster_run style tests to makefile
kbatten authored
17
18 test:
60130c8 @kbatten let the user specify a test that make will run
kbatten authored
19 ifdef TESTNAME
20 scripts/start_cluster_and_run_tests.sh b/resources/dev.ini ${TESTNAME}
3af3b6e @farshidce added target for running view tests against 4 node cluster
farshidce authored
21 else
fb8381d @kbatten produce an archive based on new directories, files
kbatten authored
22 scripts/start_cluster_and_run_tests.sh b/resources/dev.ini conf/py-all-dev.conf
60130c8 @kbatten let the user specify a test that make will run
kbatten authored
23 endif
99bfd5f @kbatten add cluster_run style tests to makefile
kbatten authored
24
4d0c6c3 @farshidce add simple-test target
farshidce authored
25 simple-test:
1fa71d7 @ketakigangal Modify the make simple-test to include xdcr tests
ketakigangal authored
26 scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes-xdcr.ini conf/simple.conf
3af3b6e @farshidce added target for running view tests against 4 node cluster
farshidce authored
27
28 test-views:
29 scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes.ini conf/py-view.conf
9bf7070 @farshidce adding test-viewquery target to testrunner makefile
farshidce authored
30 test-viewquery:
31 scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes.ini conf/py-viewquery.conf
22d232f @fdmanana CBQE-500 Add make target test-viewmerge
fdmanana authored
32
33 # required before merging changes to view engine
64cd990 @vmx CBQA-25: Make couchdb pre commit tests nicer to run
vmx authored
34 test-views-pre-merge:
35 scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes.ini conf/py-view-pre-merge.conf
415d715 @kbatten add make any-test and any-suite
kbatten authored
36
22d232f @fdmanana CBQE-500 Add make target test-viewmerge
fdmanana authored
37 # required before merging changes to view engine
38 test-viewmerge:
39 echo "Running view merge tests with single node cluster"
40 scripts/start_cluster_and_run_tests.sh b/resources/dev-single-node.ini conf/py-viewmerge.conf
41 echo "Running view merge tests with 4 nodes cluster"
2629523 @farshidce CBQE-538: add SLEEP_TIME param to Makefile
farshidce authored
42 sleep ${SLEEP_TIME}
22d232f @fdmanana CBQE-500 Add make target test-viewmerge
fdmanana authored
43 scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes.ini conf/py-viewmerge.conf
44
052c068 @farshidce added few new targets to makefile for running e2e tests
farshidce authored
45 e2e-kv-single-node:
46 scripts/start_cluster_and_run_tests.sh b/resources/dev.ini conf/py-all-dev.conf
415d715 @kbatten add make any-test and any-suite
kbatten authored
47
af6ca51 @ketakigangal CBQE-557: Fix make test-simple and test-xdcr-merge
ketakigangal authored
48 test-xdcr-merge:
49 scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes-xdcr.ini conf/py-xdcrmerge.conf
4ec2eab MB-5455: Split XDCR unit tests to clear the trunk
Junyi Xie authored
50
415d715 @kbatten add make any-test and any-suite
kbatten authored
51 # specify number of nodes and testcase
52 any-test:
53 scripts/start_cluster_and_run_tests.sh ${NODES} ${TEST}
54
55 # specify number of nodes and test conf
56 any-suite:
57 scripts/start_cluster_and_run_tests.sh ${NODES} ${SUITE}
Something went wrong with that request. Please try again.