mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: Add new 'make check-all' rule.
This runs all of the check* rules. Since this includes 'make check', 'make check-all' is not quite equivalent to the old 'make extra-tests' which was removed in the previous commit.
This commit is contained in:
13
Makefile.am
13
Makefile.am
@@ -328,6 +328,17 @@ quickcheck:
|
||||
|
||||
# Non-standard tests.
|
||||
|
||||
check-all:
|
||||
$(MAKE) -j1 \
|
||||
check \
|
||||
check-valgrind \
|
||||
check-valgrind-local-guests \
|
||||
check-direct \
|
||||
check-valgrind-direct \
|
||||
check-with-upstream-qemu \
|
||||
check-with-upstream-libvirt \
|
||||
check-slow
|
||||
|
||||
check-valgrind: build-test-guests
|
||||
@errors=0; \
|
||||
for f in `grep -l '^$@:' $(SUBDIRS:%=%/Makefile.am)`; do \
|
||||
@@ -434,6 +445,8 @@ help:
|
||||
@echo "make check-with-upstream-libvirt Test using upstream libvirt."
|
||||
@echo "make check-slow Slow/long-running tests."
|
||||
@echo
|
||||
@echo "make check-all Runs all 'check*' rules."
|
||||
@echo
|
||||
@echo "make syntax-check -j1 -k Check syntax and style problems in the code."
|
||||
@echo "make print-subdirs Print subdirectories."
|
||||
@echo
|
||||
|
||||
7
README
7
README
@@ -236,6 +236,13 @@ Also:
|
||||
runs a subset of the test suite under valgrind (requires valgrind to
|
||||
be installed obviously).
|
||||
|
||||
make check-all
|
||||
|
||||
runs check-valgrind + even more tests, but these require that you have
|
||||
some libvirt guests installed, that these guests' disks are accessible
|
||||
by the current user, and these tests may fail for other reasons which
|
||||
are not necessarily because of real problems.
|
||||
|
||||
make help
|
||||
|
||||
lists all 'make' targets.
|
||||
|
||||
@@ -17,7 +17,7 @@ intro/ "Slides" for an intro to libguestfs. This is a short (10-15
|
||||
|
||||
make-check-on-installed.pl
|
||||
This Perl script allows you to run the test suite (ie. 'make
|
||||
check', etc) on an installed RPM. This is
|
||||
check', 'make check-all' etc) on an installed RPM. This is
|
||||
useful for adding another layer of testing to packages before
|
||||
we release them. Note that a checked out copy of the source
|
||||
from git is required. Read the top of the file before using.
|
||||
|
||||
@@ -3919,6 +3919,10 @@ Runs some slow/long-running tests which are not run by default.
|
||||
Any C<Makefile.am> in the tree that has a C<check-slow:> target will
|
||||
be run by this rule.
|
||||
|
||||
=item C<make check-all>
|
||||
|
||||
Equivalent to running all C<make check*> rules.
|
||||
|
||||
=back
|
||||
|
||||
=head2 DAEMON CUSTOM PRINTF FORMATTERS
|
||||
|
||||
Reference in New Issue
Block a user