tests: Rename capitests -> tests/c-api.
[libguestfs.git] / Makefile.am
index 8394ac4..5c8ff67 100644 (file)
@@ -30,7 +30,7 @@ SUBDIRS += appliance
 endif
 
 # Tests and the test-tool.
-SUBDIRS += gnulib/tests capitests caution regressions test-tool
+SUBDIRS += gnulib/tests tests/c-api tests/qemu regressions extratests test-tool
 
 # Guestfish.
 SUBDIRS += fish
@@ -218,7 +218,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/' | \
@@ -250,6 +250,11 @@ CLEANFILES = \
 quickcheck:
        ./run test-tool/libguestfs-test-tool $(QUICKCHECK_TEST_TOOL_ARGS)
 
+# Run extra-tests in extratests/ subdirectory.
+
+extra-tests:
+       make -C extratests $@
+
 # Make binary distribution.
 
 BINTMPDIR = /tmp/libguestfs-bin