diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-24 00:59:49 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-24 01:10:40 -0700 |
commit | b65bc21e7d8dc8cafc70dfa6354cb66b8874b2d9 (patch) | |
tree | c8b81d0deff46063076468e15ac4964c5ba68969 /Makefile | |
parent | 86378b32895ee5d788491b8407608a54e5cf064c (diff) | |
download | git-b65bc21e7d8dc8cafc70dfa6354cb66b8874b2d9.tar.gz |
Makefile: add framework to verify and bench sha1 implementations.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -636,6 +636,12 @@ test-delta$X: test-delta.c diff-delta.o patch-delta.o test-dump-cache-tree$X: dump-cache-tree.o $(GITLIBS) $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) +test-sha1$X: test-sha1.o $(GITLIBS) + $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) + +check-sha1:: test-sha1$X + ./test-sha1.sh + check: for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done |