aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-04-10 13:58:31 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-04-10 13:59:33 +0200
commita9b46141a991b3c3dba31beb262bf204537049d2 (patch)
tree4acd6e1b350832566a9f7df89894e08ff3c28b86
parentc38cca3b925f66d38d6ac978b36a3be1fc8504d1 (diff)
downloadxK-a9b46141a991b3c3dba31beb262bf204537049d2.tar.gz
xK-a9b46141a991b3c3dba31beb262bf204537049d2.tar.xz
xK-a9b46141a991b3c3dba31beb262bf204537049d2.zip
xS/xN: add test targets
-rw-r--r--xN/Makefile2
-rw-r--r--xS/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/xN/Makefile b/xN/Makefile
index 5340b55..0c5a499 100644
--- a/xN/Makefile
+++ b/xN/Makefile
@@ -15,5 +15,7 @@ xN: xN.go ../xK-version irc.go
xN.1: ../xK-version ../liberty/tools/asciiman.awk xN.adoc
env "asciidoc-release-version=$$(cat ../xK-version)" \
$(AWK) -f ../liberty/tools/asciiman.awk xN.adoc > $@
+test: all
+ go test
clean:
rm -f $(outputs)
diff --git a/xS/Makefile b/xS/Makefile
index 92716ac..57927fa 100644
--- a/xS/Makefile
+++ b/xS/Makefile
@@ -12,5 +12,7 @@ xS-replies.go: xS-gen-replies.awk xS-replies
xS.1: ../xK-version ../liberty/tools/asciiman.awk xS.adoc
env "asciidoc-release-version=$$(cat ../xK-version)" \
$(AWK) -f ../liberty/tools/asciiman.awk xS.adoc > $@
+test: all
+ go test
clean:
rm -f $(outputs)