-
Notifications
You must be signed in to change notification settings - Fork 21
/
Makefile
36 lines (28 loc) · 1.07 KB
/
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
32
33
34
35
36
DIST_DIR=./dist
DIRS=b conf connections couchbase_utils lib platform_utils pytests scripts src
FILES=Makefile README.md TestInput.py
SLEEP_TIME=3
VERBOSE=0
DEBUG=0
TESTNAME=conf/sanity.conf
.PHONY: clean TAF test
TAF:
mkdir -p $(DIST_DIR)/TAF
tar -cvf $(DIST_DIR)/TAF.tar --exclude='*.pyc' $(DIRS) $(FILES)
tar -C $(DIST_DIR)/TAF -xvf $(DIST_DIR)/TAF.tar
rm -f $(DIST_DIR)/TAF.tar
tar -C $(DIST_DIR) -czvf $(DIST_DIR)/TAF.tar.gz TAF
clean:
rm -rf $(DIST_DIR)
test:
scripts/start_cluster_and_run_tests.sh b/resources/dev-4-nodes.ini $(TESTNAME)
simple-test-serverless:
scripts/start_cluster_and_run_tests.sh --ini b/resources/dev-6-nodes.ini --test conf/sanity/serverless.conf --jython_path $(WORKSPACE)/jython_for_taf --workspace_dir $(WORKSPACE) --aws_access_key_id $(AWS_ACCESS_KEY_ID) --aws_secret_access_key $(AWS_SECRET_ACCESS_KEY) --serverless
# specify number of nodes and testcase
any-test:
scripts/start_cluster_and_run_tests.sh $(NODES) $(TEST)
# specify number of nodes and test conf
any-suite:
scripts/start_cluster_and_run_tests.sh $(NODES) $(SUITE)
revision:
19