38f3e28d77
Use the output of git diff --full-index --binary anaconda-22.20.13-1..anaconda-23.19.10-1 from anaconda's git repository and fix-up merge conflicts.
79 lines
2.8 KiB
Makefile
79 lines
2.8 KiB
Makefile
# Makefile.am for anaconda tests
|
|
#
|
|
# Copyright (C) 2013 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: David Shea <dshea@redhat.com>
|
|
|
|
# This Makefile is non-recursive so that all tests can easily be run with the
|
|
# same python environment. $top_srcdir and $top_builddir are added to the
|
|
# environment so that tests can get their bearings. Tests need to be aware that
|
|
# they may be run from within an arbitrary working directory.
|
|
#
|
|
# While automake claims that it doesn't support wildcards anywhere, they really
|
|
# mean it with the parallel test harness. Rather than reverting back to the
|
|
# serial harness, all of the nosetests-based checks will be run serially by
|
|
# nosetests.sh. This script can be run in parallel with the other test scripts,
|
|
# such as pylint.
|
|
#
|
|
# nosetests will be run for any python files found in a directory matching *_tests
|
|
|
|
AM_TESTS_ENVIRONMENT = top_srcdir="$(top_srcdir)" top_builddir="$(top_builddir)" ; . $(srcdir)/testenv.sh ;
|
|
TEST_EXTENSIONS = .sh
|
|
|
|
# Test scripts need to be listed both here and in TESTS
|
|
dist_check_SCRIPTS = $(srcdir)/glade/*.py \
|
|
glade/run_glade_tests.sh \
|
|
$(srcdir)/lib/*.py \
|
|
$(srcdir)/lib/*.sh \
|
|
nosetests.sh \
|
|
nosetests_root.sh \
|
|
pylint/runpylint.py \
|
|
cppcheck/runcppcheck.sh \
|
|
testenv.sh \
|
|
$(srcdir)/gettext/*.py \
|
|
gettext/click.py \
|
|
gettext/gettext_warnings.sh \
|
|
gettext/gettext_potfiles.py \
|
|
gettext/style_guide.py \
|
|
gettext/contexts.py \
|
|
storage/run_storage_tests.py \
|
|
install/run_install_test.sh \
|
|
$(srcdir)/kickstart_tests/*.ks \
|
|
$(srcdir)/kickstart_tests/*.sh \
|
|
$(srcdir)/kickstart_tests/*.py \
|
|
$(srcdir)/kickstart_tests/kstest-runner \
|
|
$(srcdir)/gui/*.ks \
|
|
$(srcdir)/gui/*.sh \
|
|
$(srcdir)/gui/inside/*.py \
|
|
$(srcdir)/gui/outside/*.py \
|
|
$(srcdir)/storage/cases/*.py \
|
|
$(srcdir)/*_tests/*.py
|
|
|
|
TESTS = nosetests.sh \
|
|
pylint/runpylint.py \
|
|
cppcheck/runcppcheck.sh \
|
|
gettext/click.py \
|
|
gettext/gettext_warnings.sh \
|
|
gettext/gettext_potfiles.py \
|
|
gettext/style_guide.py \
|
|
gettext/contexts.py \
|
|
storage/run_storage_tests.py \
|
|
glade/run_glade_tests.sh \
|
|
kickstart_tests/run_kickstart_tests.sh
|
|
|
|
clean-local:
|
|
-rm -rf pylint/.pylint.d
|