-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
Makefile
43 lines (32 loc) · 1.36 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
37
38
39
40
41
42
43
include ../Makefile.Common
GOTEST=$(GOCMD) test
.PHONY: list-tests
list-tests:
RUN_TESTBED=1 $(GOTEST) -v ./tests --test.list '.*' | grep "^Test"
.PHONY: run-tests
run-tests: $(GOJUNIT)
GOJUNIT=$(GOJUNIT) ./runtests.sh
.PHONY: list-loadtest-tests
list-loadtest-tests:
RUN_TESTBED=1 $(GOTEST) -v ./tests --test.list '.*' | grep "^Test"
.PHONY: list-stability-tests
list-stability-tests:
RUN_TESTBED=1 $(GOTEST) -v ./stabilitytests --test.list '.*' | grep "^Test"
.PHONY: run-stability-tests
run-stability-tests:
TESTCASE_DURATION=1h TEST_ARGS="$${TEST_ARGS} -timeout 70m" TESTS_DIR=stabilitytests ./runtests.sh
.PHONY: list-correctness-metrics-tests
list-correctness-metrics-tests:
RUN_TESTBED=1 $(GOTEST) -v ./correctnesstests/metrics --test.list '.*' | grep "^Test"
.PHONY: run-correctness-metrics-tests
run-correctness-metrics-tests: $(GOJUNIT)
TESTS_DIR=correctnesstests/metrics GOJUNIT=$(GOJUNIT) ./runtests.sh
.PHONY: list-correctness-traces-tests
list-correctness-traces-tests:
RUN_TESTBED=1 $(GOTEST) -v ./correctnesstests/traces --test.list '.*' | grep "^Test"
.PHONY: run-correctness-traces-tests
run-correctness-traces-tests: $(GOJUNIT)
TESTS_DIR=correctnesstests/traces GOJUNIT=$(GOJUNIT) ./runtests.sh
.PHONY: run-correctness-connectors-tests
run-correctness-connectors-tests: $(GOJUNIT)
TESTS_DIR=correctnesstests/connectors GOJUNIT=$(GOJUNIT) ./runtests.sh