File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,10 +67,14 @@ release: check-registry
6767
6868deploy : build dev-release restart
6969
70- test : test-components push test-integration
70+ test : test-unit test-functional push test-integration
7171
72- test-components :
73- @$(foreach C, $(COMPONENTS ) , $(MAKE ) -C $(C ) test &&) echo done
72+ test-functional :
73+ @$(foreach C, $(COMPONENTS ) , $(MAKE ) -C $(C ) test-functional &&) echo done
74+
75+ test-unit :
76+ @$(foreach C, $(COMPONENTS ) , $(MAKE ) -C $(C ) test-unit &&) echo done
77+ @$(foreach C, $(CLIENTS ) , $(MAKE ) -C $(C ) test-unit &&) echo done
7478
7579test-integration :
7680 $(MAKE ) -C tests/ test-full
Original file line number Diff line number Diff line change @@ -36,3 +36,6 @@ setup-venv:
3636
3737test-style : setup-venv
3838 venv/bin/flake8
39+
40+ test-unit :
41+ @echo no unit tests
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ stop: check-deisctl
4949
5050test : test-unit
5151
52+ test-functional :
53+ @echo no functional tests
54+
5255test-unit :
5356 godep go test -v ./...
5457
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ log_phase "Running documentation tests"
2222# test building documentation
2323make -C docs/ test
2424
25+ log_phase " Running unit tests"
26+
27+ make test-unit
28+
2529log_phase " Building from current source tree"
2630
2731# build all docker images and client binaries
@@ -30,9 +34,9 @@ make build
3034# use the built client binaries
3135export PATH=$DEIS_ROOT /deisctl:$DEIS_ROOT /client/dist:$PATH
3236
33- log_phase " Running unit and functional tests"
37+ log_phase " Running functional tests"
3438
35- make test-components
39+ make test-functional
3640
3741log_phase " Provisioning 3-node CoreOS"
3842
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ log_phase "Running documentation tests"
2222# test building documentation
2323make -C docs/ test
2424
25+ log_phase " Running unit tests"
26+
27+ make test-unit
28+
2529log_phase " Building from current source tree"
2630
2731# build all docker images and client binaries
@@ -30,9 +34,9 @@ make build
3034# use the built client binaries
3135export PATH=$DEIS_ROOT /deisctl:$DEIS_ROOT /client/dist:$PATH
3236
33- log_phase " Running unit and functional tests"
37+ log_phase " Running functional tests"
3438
35- make test-components
39+ make test-functional
3640
3741log_phase " Provisioning 3-node CoreOS"
3842
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ log_phase "Running documentation tests"
2222# test building documentation
2323make -C docs/ test
2424
25+ log_phase " Running unit tests"
26+
27+ make test-unit
28+
2529log_phase " Building from current source tree"
2630
2731# build all docker images and client binaries
@@ -30,9 +34,9 @@ make build
3034# use the built client binaries
3135export PATH=$DEIS_ROOT /deisctl:$DEIS_ROOT /client/dist:$PATH
3236
33- log_phase " Running unit and functional tests"
37+ log_phase " Running functional tests"
3438
35- make test-components
39+ make test-functional
3640
3741log_phase " Provisioning 3-node CoreOS"
3842
You can’t perform that action at this time.
0 commit comments