]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: improve tests distribution
authorEric Blake <eblake@redhat.com>
Thu, 16 Dec 2010 18:24:00 +0000 (11:24 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 17 Dec 2010 18:57:11 +0000 (11:57 -0700)
* tests/Makefile.am (EXTRA_DIST): Sort, and add directories.
(SUBDIRS): Drop automake recursion into subdirs.
* tests/commanddata/Makefile.am: Delete.
* tests/confdata/Makefile.am: Likewise.
* tests/sexpr2xmldata/Makefile.am: Likewise.
* tests/xencapsdata/Makefile.am: Likewise.
* tests/xmconfigdata/Makefile.am: Likewise.
* tests/xml2sexprdata/Makefile.am: Likewise.

configure.ac
tests/Makefile.am
tests/commanddata/Makefile.am [deleted file]
tests/confdata/Makefile.am [deleted file]
tests/sexpr2xmldata/Makefile.am [deleted file]
tests/xencapsdata/Makefile.am [deleted file]
tests/xmconfigdata/Makefile.am [deleted file]
tests/xml2sexprdata/Makefile.am [deleted file]

index 64e76dce31424688ee0b0075d2d41a15c943efa7..a52a03c2afb38e236360935278ac979e44e5809f 100644 (file)
@@ -2251,12 +2251,6 @@ AC_OUTPUT(Makefile src/Makefile include/Makefile docs/Makefile \
           daemon/Makefile \
           tools/Makefile \
           tests/Makefile \
-          tests/xml2sexprdata/Makefile \
-          tests/sexpr2xmldata/Makefile \
-          tests/xmconfigdata/Makefile \
-          tests/xencapsdata/Makefile \
-          tests/confdata/Makefile \
-          tests/commanddata/Makefile \
           examples/apparmor/Makefile \
           examples/domain-events/events-c/Makefile \
           examples/domsuspend/Makefile \
index 0a235cfcce927ec9a87dd0a2aefdeabbd10e7a5e..de2ff913db35cb60c369bd8e71ace373a329c2e2 100644 (file)
@@ -2,9 +2,6 @@
 
 SHELL = $(PREFERABLY_POSIX_SHELL)
 
-SUBDIRS = commanddata confdata sexpr2xmldata \
-  xml2sexprdata xmconfigdata xencapsdata
-
 INCLUDES = \
        -I$(top_srcdir)/gnulib/lib -I../gnulib/lib \
        -I$(top_builddir)/include \
@@ -39,38 +36,44 @@ LDADDS = \
         $(COVERAGE_LDFLAGS)
 
 EXTRA_DIST =           \
-        oomtrace.pl     \
-       test-lib.sh     \
-       qemuxml2argvdata \
-       qemuxml2xmloutdata \
-       nodeinfodata     \
-       schematestutils.sh \
-       capabilityschematest \
        capabilityschemadata \
-       networkschematest \
-       networkxml2xmlout \
-       networkxml2xmlin \
-       domainschematest \
+       capabilityschematest \
+       commanddata \
+       confdata \
+       cputestdata \
        domainschemadata \
+       domainschematest \
+       domainsnapshotschematest \
+       domainsnapshotxml2xmlin \
+       domainsnapshotxml2xmlout \
        interfaceschemadata \
+       networkschematest \
+       networkxml2xmlin \
+       networkxml2xmlout \
+       nodedevschemadata \
+       nodedevschematest \
+       nodeinfodata     \
+       nwfilterschematest \
+       nwfilterxml2xmlin \
+       nwfilterxml2xmlout \
+       oomtrace.pl \
+       qemuhelpdata \
+       qemuxml2argvdata \
+       qemuxml2xmloutdata \
+       schematestutils.sh \
+       sexpr2xmldata \
        storagepoolschematest \
-       storagepoolxml2xmlout \
        storagepoolxml2xmlin \
+       storagepoolxml2xmlout \
        storagevolschematest \
-       storagevolxml2xmlout \
        storagevolxml2xmlin \
-       nodedevschematest \
-       nodedevschemadata \
+       storagevolxml2xmlout \
+       test-lib.sh     \
        vmx2xmldata \
-       xml2vmxdata \
-       nwfilterxml2xmlout \
-       nwfilterxml2xmlin \
-       nwfilterschematest \
-       domainsnapshotschematest \
-       domainsnapshotxml2xmlout \
-       domainsnapshotxml2xmlin \
-       qemuhelpdata \
-       cputestdata
+       xencapsdata \
+       xmconfigdata \
+       xml2sexprdata \
+       xml2vmxdata
 
 check_PROGRAMS = virshtest conftest sockettest \
        nodeinfotest qparamtest virbuftest \
diff --git a/tests/commanddata/Makefile.am b/tests/commanddata/Makefile.am
deleted file mode 100644 (file)
index ea0f8e1..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRA_DIST = \
-   $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.log))
diff --git a/tests/confdata/Makefile.am b/tests/confdata/Makefile.am
deleted file mode 100644 (file)
index eaaadbc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRA_DIST = \
-   $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.out $(srcdir)/*.conf))
diff --git a/tests/sexpr2xmldata/Makefile.am b/tests/sexpr2xmldata/Makefile.am
deleted file mode 100644 (file)
index db43109..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRA_DIST = \
-   $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.xml $(srcdir)/*.sexpr))
diff --git a/tests/xencapsdata/Makefile.am b/tests/xencapsdata/Makefile.am
deleted file mode 100644 (file)
index ed08bc4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-EXTRA_DIST = \
-  $(patsubst $(srcdir)/%,%,$(wildcard \
-    $(srcdir)/*.xml $(srcdir)/*.cpuinfo $(srcdir)/*.caps))
diff --git a/tests/xmconfigdata/Makefile.am b/tests/xmconfigdata/Makefile.am
deleted file mode 100644 (file)
index af0cb09..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRA_DIST = \
-  $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.xml $(srcdir)/*.cfg))
diff --git a/tests/xml2sexprdata/Makefile.am b/tests/xml2sexprdata/Makefile.am
deleted file mode 100644 (file)
index 20028bb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-EXTRA_DIST = \
-  $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.xml $(srcdir)/*.sexpr))