]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
Makefile: Add test target
authorFrank Werner <mail@hb9fxq.ch>
Wed, 15 Jul 2020 14:22:18 +0000 (16:22 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 20 Oct 2020 10:38:18 +0000 (12:38 +0200)
Signed-off-by: Frank Werner <mail@hb9fxq.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Makefile

index 47f22d6bd0c1900c942416ef0c564979e98660e0..1b77f869d5aea2f0f9e856fadf0624fc83b2edb7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,10 @@ wireguard-go: $(wildcard *.go) $(wildcard */*.go)
 install: wireguard-go
        @install -v -d "$(DESTDIR)$(BINDIR)" && install -v -m 0755 "$<" "$(DESTDIR)$(BINDIR)/wireguard-go"
 
+test:
+       go test -v ./...
+
 clean:
        rm -f wireguard-go
 
-.PHONY: all clean install generate-version-and-build
+.PHONY: all clean test install generate-version-and-build