forked from couchbase/testrunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (24 loc) · 946 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DIST_DIR=./dist
DIRS=b conf lib longevity pytests resources scripts unittests
FILES=Makefile README TestInput.py
.PHONY: clean testrunner test test-quick
testrunner:
mkdir -p ${DIST_DIR}/testrunner
tar -cvf ${DIST_DIR}/testrunner.tar --exclude='*.pyc' ${DIRS} ${FILES}
tar -C ${DIST_DIR}/testrunner -xvf ${DIST_DIR}/testrunner.tar
rm -f ${DIST_DIR}/testrunner.tar
tar -C ${DIST_DIR} -czvf ${DIST_DIR}/testrunner.tar.gz testrunner
clean:
rm -rf ${DIST_DIR}
test:
ifdef TESTNAME
scripts/start_cluster_and_run_tests.sh b/resources/dev.ini ${TESTNAME}
else
scripts/start_cluster_and_run_tests.sh b/resources/dev.ini conf/py-all-dev.conf
endif
test-quick:
scripts/start_cluster_and_run_tests.sh b/resources/dev.ini conf/dev-quick.conf
test-views:
scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes.ini conf/py-view.conf
e2e-kv-single-node:
scripts/start_cluster_and_run_tests.sh b/resources/dev.ini conf/py-all-dev.conf