Create a test Makefile target - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 84f6c7862a21bef24a833ecb84a9d00e923e2f3d
DIR parent d21add912c5c0cff4dbbcbb03d98e3b83155813a
HTML Author: sin <sin@2f30.org>
Date: Wed, 1 May 2019 21:03:52 +0100
Create a test Makefile target
Diffstat:
M Makefile | 3 +++
M runtests | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -59,6 +59,9 @@ dist: clean
cp `find . -maxdepth 1 -type f` dedup-$(VERSION)
tar -c dedup-$(VERSION) | gzip > dedup-$(VERSION).tar.gz
+test: all
+ sh runtests
+
.SUFFIXES: .c .o
.c.o:
DIR diff --git a/runtests b/runtests
@@ -1,7 +1,6 @@
#!/bin/sh
set -ex
-make
for t in test*
do
sh $t