aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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