summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-08-26 17:55:17 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-08-26 17:55:17 -0400
commitc5548cf6f289cd7fe7eeb0ddc0586d61883e6fdd (patch)
treebed44332ce1762379d38ab3d783f87029c11cdd6 /SConstruct
parent76122e04bc6e38db0902f1e01d74cf036fddf3cc (diff)
downloadgpsd-c5548cf6f289cd7fe7eeb0ddc0586d61883e6fdd.tar.gz
Make the pychecker test clean up after itself.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index b6e2bf4a..01fd01c6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1078,7 +1078,9 @@ Utility("cppcheck", ["gpsd.h", "packet_names.h"],
# Sanity-check Python code
Utility("pychecker", ["jsongen.py", "maskaudit.py"],
- ["ln -s gpsprof gpsprof.py; ln -s gpscat gpscat.py; ln -s gpsfake gpsfake-driver.py; pychecker --no-callinit --unusednames jsongen.py leapsecond.py maskaudit.py gpsprof.py gpscat.py gpsfake-driver.py gps/*.py; rm gpsprof.py gpscat.py gpsfake-driver.py"])
+ ['''for f in gpsprof gpscat gpsfake; do ln -s $$f $$f.py; done; \
+ pychecker --no-callinit --unusednames jsongen.py leapsecond.py maskaudit.py gpsprof.py gpscat.py gpsfake.py gps/*.py;
+ for f in gpsprof gpscat gpsfake; do rm $$f.py $$f.pyc; done'''])
# Check the documentation for bogons, too
Utility("xmllint", glob.glob("*.xml"),