[PATCH 3/4] Remove references to old_tests, which no longer exists.

Chris Lumens clumens at redhat.com
Fri Feb 20 16:31:42 UTC 2015


---
 Makefile.am               | 4 ----
 tests/pylint/runpylint.sh | 5 ++---
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7f7478b..5945109 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -128,10 +128,6 @@ updates:
 	fi ; \
 	( cd $(srcdir) && scripts/makeupdates $${opts} -b '$(abs_builddir)' )
 
-# UNIT TESTING TARGETS
-unittests-logpicker:
-	PYTHONPATH=$(builddir)/pyanaconda/isys/.libs:tests/:$(srcdir):utils/ nosetests -v old_tests/logpicker_test
-
 # GUI TESTING
 runglade:
 	ANACONDA_DATA=$(srcdir)/data \
diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
index 936fa5f..58e895d 100755
--- a/tests/pylint/runpylint.sh
+++ b/tests/pylint/runpylint.sh
@@ -117,10 +117,9 @@ fi
 # confused
 if [ -z "$FILES" ]; then
     # Test any file that either ends in .py or contains #!/usr/bin/python2 in
-    # the first line.  Scan everything except old_tests
+    # the first line.
     FILES=$(findtestfiles \( -name '*.py' -o \
-                -exec /bin/sh -c "head -1 {} | grep -q '#!/usr/bin/python2'" \; \) -print | \
-            egrep -v '(|/)old_tests/')
+                -exec /bin/sh -c "head -1 {} | grep -q '#!/usr/bin/python2'" \; \) -print)
 fi
 
 # run pylint in paralel
-- 
2.2.2



More information about the anaconda-patches mailing list