mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
added make test and make valgrindtest targets
(This used to be ctdb commit b69fb43643993ee5aaabf8711bb874f95d468f35)
This commit is contained in:
parent
353a82f87c
commit
76381c4493
@ -105,12 +105,18 @@ distclean: clean
|
||||
rm -f config.log config.status config.cache config.h
|
||||
rm -f Makefile
|
||||
|
||||
install:
|
||||
install: all
|
||||
mkdir -p $(bindir)
|
||||
mkdir -p $(includedir)
|
||||
cp $(BINS) $(bindir)
|
||||
cp $(srcdir)/include/ctdb.h $(includedir)
|
||||
|
||||
test:
|
||||
tests/run_tests.sh
|
||||
|
||||
valgrindtest:
|
||||
VALGRIND="valgrind -q --trace-children=yes" tests/run_tests.sh
|
||||
|
||||
|
||||
realdistclean: distclean
|
||||
rm -f configure config.h.in
|
||||
|
8
ctdb/tests/run_tests.sh
Executable file
8
ctdb/tests/run_tests.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
tests/fetch.sh || exit 1
|
||||
tests/bench.sh || exit 1
|
||||
tests/test.sh || exit 1
|
||||
|
||||
echo "All OK"
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user