Browse Source

add testall rule

Victor Vieux 12 năm trước cách đây
mục cha
commit
2d6a49215c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      Makefile

+ 3 - 0
Makefile

@@ -72,6 +72,9 @@ else ifneq ($(DOCKER_DIR), $(realpath $(DOCKER_DIR)))
 endif
 
 test: all
+	@(cd $(DOCKER_DIR); sudo -E go test $(GO_OPTIONS))
+
+testall: all
 	@(cd $(DOCKER_DIR); sudo -E go test ./... $(GO_OPTIONS))
 
 fmt: