X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=725d12cf4d339d73bddb888270d37784da6de5cf;hb=d24e088dc3475db4496e5cbd67c143c25ef12b1e;hp=a22360035ce4a1aec3ac1af90a5fe4cb57573479;hpb=a3b24296810d98e47552c6838dcd6ab6845aba03;p=libguestfs.git diff --git a/Makefile.am b/Makefile.am index a223600..725d12c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ include $(top_srcdir)/subdir-rules.mk ACLOCAL_AMFLAGS = -I m4 # Basic source for the library. -SUBDIRS = gnulib/lib images generator src examples po +SUBDIRS = gnulib/lib tests/data tests/guests generator src examples po if ENABLE_DAEMON SUBDIRS += daemon @@ -29,8 +29,14 @@ if ENABLE_APPLIANCE SUBDIRS += appliance endif -# Tests and the test-tool. -SUBDIRS += gnulib/tests capitests caution regressions test-tool +# Tests. +SUBDIRS += gnulib/tests tests/c-api tests/qemu +SUBDIRS += tests/protocol tests/lvm tests/luks tests/md +SUBDIRS += tests/regressions +SUBDIRS += tests/extra + +# libguestfs-test-tool +SUBDIRS += test-tool # Guestfish. SUBDIRS += fish @@ -218,7 +224,7 @@ all-local: find $(DIST_SUBDIRS) \ -name '*.c' -o -name '*.pl' -o -name '*.pm' | \ grep -v '^perl/blib/' | \ - grep -v '^capitests/' | \ + grep -v '^tests/' | \ grep -v '^daemon/lib/' | \ grep -v '^daemon/tests/' | \ grep -v '^examples/' | \ @@ -228,6 +234,7 @@ all-local: grep -v '/rc_protocol.c' | \ grep -v 'appliance/debian/root' | \ grep -v '^po-docs/' | \ + grep -v '^images/' | \ LC_ALL=C sort | \ sed 's,^\./,,' > po/POTFILES.in @@ -249,6 +256,11 @@ CLEANFILES = \ quickcheck: ./run test-tool/libguestfs-test-tool $(QUICKCHECK_TEST_TOOL_ARGS) +# Run extra-tests in tests/extra/ subdirectory. + +extra-tests: + make -C tests/extra $@ + # Make binary distribution. BINTMPDIR = /tmp/libguestfs-bin