aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-07 19:51:40 +0000
committerMike Frysinger <vapier@gentoo.org>2013-04-07 19:51:40 +0000
commit2a111755abd5d633e30996cbea0288b80dd762d8 (patch)
treecb3971c2ec53761b3624bf0b11c07720e6d77723 /tests
parentadd some lddtree tests (diff)
downloadpax-utils-2a111755abd5d633e30996cbea0288b80dd762d8.tar.gz
pax-utils-2a111755abd5d633e30996cbea0288b80dd762d8.tar.bz2
pax-utils-2a111755abd5d633e30996cbea0288b80dd762d8.zip
ignore testing test python files
Diffstat (limited to 'tests')
-rwxr-xr-xtests/source/dotest5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/source/dotest b/tests/source/dotest
index 711e19c..bb0f664 100755
--- a/tests/source/dotest
+++ b/tests/source/dotest
@@ -112,7 +112,10 @@ testit src.space
# Python checks
#
if pyflakes </dev/null 2>/dev/null; then
- find "${top_srcdir}" -name '*.py' -exec pyflakes {} + > src.pyflakes
+ find "${top_srcdir}" \
+ '!' -ipath '*/tests/*' \
+ -name '*.py' \
+ -exec pyflakes {} + > src.pyflakes
testit src.pyflakes
fi