Remove the parts required to make "make tests" work.
Since we're apparently using "make unittest" instead, make sure the other
target simply doesn't work so there's no confusion. Also, add a Makefile.am
to tests/pylint so that directory is included in the distributed sources.
---
configure.ac | 1 +
tests/Makefile.am | 7 +------
tests/kickstart_test/Makefile.am | 5 -----
tests/pylint/Makefile.am | 22 ++++++++++++++++++++++
tests/regex/Makefile.am | 2 --
tests/storage_test/Makefile.am | 5 -----
tests/storage_test/devicelibs_test/Makefile.am | 9 ---------
7 files changed, 24 insertions(+), 27 deletions(-)
create mode 100644 tests/pylint/Makefile.am
MAINTAINERCLEANFILES = Makefile.in
-
-ANACDIR = $(top_builddir)/pyanaconda
-TESTS_ENVIRONMENT = PYTHONPATH=$(top_builddir)/tests:$(ANACDIR)/isys/.libs:$(ANACDIR):$(top_builddir)
-
-TESTS = commands_test.py
diff --git a/tests/pylint/Makefile.am b/tests/pylint/Makefile.am
new file mode 100644
index 0000000..f934cf5
--- /dev/null
+++ b/tests/pylint/Makefile.am
@@ -0,0 +1,22 @@
+# tests/kickstart/Makefile.am for anaconda
+#
+# Copyright (C) 2010 Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Chris Lumens <clumens@redhat.com>
+
+EXTRA_DIST = *pylint*
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/tests/regex/Makefile.am b/tests/regex/Makefile.am
index f9bb6f9..af1bd58 100644
--- a/tests/regex/Makefile.am
+++ b/tests/regex/Makefile.am
@@ -20,5 +20,3 @@
EXTRA_DIST = *.py