浏览代码

add testall rule

Victor Vieux 12 年之前
父节点
当前提交
2d6a49215c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Makefile

+ 3 - 0
Makefile

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