aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/source/dotest14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/source/dotest b/tests/source/dotest
index 7b462f9..711e19c 100755
--- a/tests/source/dotest
+++ b/tests/source/dotest
@@ -73,6 +73,7 @@ find "${top_srcdir}" '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 \
testit src.use.xfuncs
+
#
# check for style
#
@@ -88,6 +89,7 @@ find "${top_srcdir}" '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 \
testit src.style
+
#
# Auto clean up the space issues
#
@@ -104,4 +106,16 @@ for x in $(find ../.. '(' -name '*.c' -o -name '*.h' ')' ); do
done > src.space
testit src.space
+
+
+#
+# Python checks
+#
+if pyflakes </dev/null 2>/dev/null; then
+ find "${top_srcdir}" -name '*.py' -exec pyflakes {} + > src.pyflakes
+ testit src.pyflakes
+fi
+
+
+
exit ${ret}