summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-08-27 00:05:50 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-08-27 00:05:50 -0400
commit4b3139dc45e880dab9ee7e672d7d78a607b44a55 (patch)
treecc7b42f64612713446f949b3ac620ebb36ce9922 /SConstruct
parent304bde26720af2853ef47f177c7e766ba0121117 (diff)
downloadgpsd-4b3139dc45e880dab9ee7e672d7d78a607b44a55.tar.gz
Added xgpsspeed to the pychecker set.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 4 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index ecc6137d..c3b3f84b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1076,11 +1076,11 @@ for (target,sources,description,params) in splint_table:
Utility("cppcheck", ["gpsd.h", "packet_names.h"],
"cppcheck --template gcc --all --force $SRCDIR")
-# Sanity-check Python code
+# Sanity-check Python code. TODO: add xgps for the complete set.
Utility("pychecker", ["jsongen.py", "maskaudit.py"],
- ['''for f in gpsprof gpscat gpsfake gegps; do ln -s $$f $$f.py; done; \
- pychecker --no-callinit --unusednames jsongen.py leapsecond.py maskaudit.py gpsprof.py gpscat.py gpsfake.py gegps.py gps/*.py;
- for f in gpsprof gpscat gpsfake gegps; do rm $$f.py $$f.pyc; done'''])
+ ['''for f in xgpsspeed gpsprof gpscat gpsfake gegps; do ln -s $$f $$f.py; done; \
+ pychecker --no-callinit --unusednames xgpsspeed jsongen.py leapsecond.py maskaudit.py gpsprof.py gpscat.py gpsfake.py gegps.py gps/*.py;
+ for f in xgpsspeed gpsprof gpscat gpsfake gegps; do rm $$f.py $$f.pyc; done'''])
# Check the documentation for bogons, too
Utility("xmllint", glob.glob("*.xml"),