[master 2/2] Remove two files in tests directory.
mulkieran
installerbot-noreply at redhat.com
Mon Jun 1 13:49:08 UTC 2015
From: Alexander Todorov <atodorov at redhat.com>
These are no longer required since blivet switched to pocketlint for
pylinting.
Signed-off-by: mulhern <amulhern at redhat.com>
---
tests/lib/testlib.sh | 37 -------------------------------------
tests/testenv.sh | 13 -------------
2 files changed, 50 deletions(-)
delete mode 100644 tests/lib/testlib.sh
delete mode 100644 tests/testenv.sh
diff --git a/tests/lib/testlib.sh b/tests/lib/testlib.sh
deleted file mode 100644
index 896d884..0000000
--- a/tests/lib/testlib.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# Shell functions for use by anaconda tests
-#
-# Copyright (C) 2014 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 at redhat.com>
-
-# Print a list of files to test on stdout
-# Takes filter arguments identical to the find utility, for example
-# findtestfiles -name '*.py'. Note that pruning directories will not
-# work since find is passed a list of filenames as the path arguments.
-findtestfiles()
-{
- # If the test is being run from a git work tree, use a list of all files
- # known to git
- if [ -d "${top_srcdir}/.git" ]; then
- findpath=$(git ls-files -c "${top_srcdir}")
- # Otherwise list everything under $top_srcdir
- else
- findpath="${top_srcdir} -type f"
- fi
-
- find $findpath "$@"
-}
diff --git a/tests/testenv.sh b/tests/testenv.sh
deleted file mode 100644
index fca48db..0000000
--- a/tests/testenv.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-if [ -z "$top_srcdir" ]; then
- echo "*** top_srcdir must be set"
- exit 1
-fi
-
-# If no top_builddir is set, use top_srcdir
-: "${top_builddir:=$top_srcdir}"
-
-export PYTHONPATH
-export top_srcdir
-export top_builddir
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/af5260e90a8c25a09b6b44a2673b625afc9c01d6
More information about the anaconda-patches
mailing list