]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
Makefile: run go test in test target, not all target
authorSimon Ruderich <simon@ruderich.org>
Wed, 12 Jun 2019 06:51:13 +0000 (08:51 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 12 Jun 2019 06:51:13 +0000 (08:51 +0200)
Makefile

index b76c74eefedbe023ba923c4f027a473fd7ea60b8..f543f6d7f6df2999f6ee4280267be305fd569247 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,6 @@ all:
        go generate ./...
        go vet ./...
        go build
        go generate ./...
        go vet ./...
        go build
-       go test ./...
        $(MAKE) --no-print-directory -C nss all
 
 clean:
        $(MAKE) --no-print-directory -C nss all
 
 clean:
@@ -11,6 +10,7 @@ clean:
 
 test:
        go build # we need ./nsscash
 
 test:
        go build # we need ./nsscash
+       go test ./...
        $(MAKE) --no-print-directory -C nss test
 
 .PHONY: all clean test
        $(MAKE) --no-print-directory -C nss test
 
 .PHONY: all clean test