TestAsyncUDPSocket: remove dead code and add test
[ganeti-local] / Makefile.am
index c6e5e86..0d98d27 100644 (file)
@@ -36,10 +36,10 @@ DIRS = \
        doc/examples/hooks \
        lib \
        lib/build \
+       lib/confd \
        lib/http \
        lib/hypervisor \
        lib/rapi \
-       lib/confd \
        man \
        qa \
        scripts \
@@ -57,6 +57,7 @@ maintainer-clean-local:
        rm -rf doc/api doc/html doc/coverage
 
 CLEANFILES = \
+       $(addsuffix /*.py[co],$(DIRS)) \
        autotools/replace_vars.sed \
        daemons/daemon-util \
        daemons/ganeti-cleaner \
@@ -66,15 +67,8 @@ CLEANFILES = \
        doc/examples/ganeti.cron \
        doc/examples/gnt-config-backup \
        doc/examples/hooks/ipsec \
-       lib/*.py[co] \
-       lib/build/*.py[co] \
-       lib/http/*.py[co] \
-       lib/hypervisor/*.py[co] \
-       lib/rapi/*.py[co] \
        $(man_MANS) \
        $(manhtml) \
-       qa/*.py[co] \
-       test/*.py[co] \
        stamp-directories \
        stamp-srclinks \
        $(nodist_pkgpython_PYTHON)
@@ -99,6 +93,7 @@ pkgpython_PYTHON = \
        lib/bootstrap.py \
        lib/cli.py \
        lib/cmdlib.py \
+       lib/compat.py \
        lib/config.py \
        lib/constants.py \
        lib/daemon.py \
@@ -116,6 +111,7 @@ pkgpython_PYTHON = \
        lib/ssh.py \
        lib/storage.py \
        lib/utils.py \
+       lib/uidpool.py \
        lib/workerpool.py
 
 hypervisor_PYTHON = \
@@ -129,6 +125,8 @@ hypervisor_PYTHON = \
 rapi_PYTHON = \
        lib/rapi/__init__.py \
        lib/rapi/baserlib.py \
+       lib/rapi/client.py \
+       lib/rapi/client_utils.py \
        lib/rapi/connector.py \
        lib/rapi/rlib2.py
 
@@ -141,8 +139,8 @@ http_PYTHON = \
 confd_PYTHON = \
        lib/confd/__init__.py \
        lib/confd/client.py \
-       lib/confd/server.py \
-       lib/confd/querylib.py
+       lib/confd/querylib.py \
+       lib/confd/server.py
 
 docrst = \
        doc/admin.rst \
@@ -233,8 +231,10 @@ dist_tools_SCRIPTS = \
        tools/burnin \
        tools/cfgshell \
        tools/cfgupgrade \
+       tools/cfgupgrade12 \
        tools/cluster-merge \
-       tools/lvmstrap
+       tools/lvmstrap \
+       tools/sanitize-config
 
 pkglib_SCRIPTS = \
        daemons/daemon-util
@@ -320,10 +320,14 @@ TEST_FILES = \
        test/data/proc_drbd83.txt
 
 python_tests = \
+       test/ganeti.asyncnotifier_unittest.py \
+       test/ganeti.backend_unittest.py \
        test/ganeti.bdev_unittest.py \
        test/ganeti.cli_unittest.py \
+       test/ganeti.daemon_unittest.py \
        test/ganeti.cmdlib_unittest.py \
-       test/ganeti.confd_client_unittest.py \
+       test/ganeti.compat_unittest.py \
+       test/ganeti.confd.client_unittest.py \
        test/ganeti.config_unittest.py \
        test/ganeti.constants_unittest.py \
        test/ganeti.errors_unittest.py \
@@ -333,10 +337,14 @@ python_tests = \
        test/ganeti.mcpu_unittest.py \
        test/ganeti.objects_unittest.py \
        test/ganeti.opcodes_unittest.py \
+       test/ganeti.rapi.client_unittest.py \
        test/ganeti.rapi.resources_unittest.py \
+       test/ganeti.rapi.rlib2_unittest.py \
        test/ganeti.serializer_unittest.py \
        test/ganeti.ssh_unittest.py \
+       test/ganeti.uidpool_unittest.py \
        test/ganeti.utils_unittest.py \
+       test/ganeti.utils_mlockall_unittest.py \
        test/ganeti.workerpool_unittest.py \
        test/docs_unittest.py \
        test/tempfile_fork_unittest.py
@@ -426,7 +434,6 @@ man/%.7: man/%.7.in $(REPLACE_VARS_SED)
 
 man/%.8: man/%.8.in $(REPLACE_VARS_SED)
        sed -f $(REPLACE_VARS_SED) < $< > $@
-       $(CHECK_MAN) $@
 
 man/%.html: man/%.html.in $(REPLACE_VARS_SED)
        sed -f $(REPLACE_VARS_SED) < $< > $@
@@ -563,4 +570,6 @@ coverage: $(BUILT_SOURCES) $(python_tests)
        $(PLAIN_TESTS_ENVIRONMENT) $(abs_top_srcdir)/autotools/gen-coverage \
        $(python_tests)
 
+commit-check: distcheck lint apidoc
+
 # vim: set noet :