summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMichael Tatarinov <kukabu@gmail.com>2013-11-12 10:08:13 +0400
committerEric S. Raymond <esr@thyrsus.com>2013-11-12 01:10:36 -0500
commitba1947dc685dcdd4b9e9020c3dbd68a254a14796 (patch)
treeb1957b03e9e594ae139055cdba779edcc93545c2 /SConstruct
parent795b233b94ea4356b3623504f19337d39b7a051b (diff)
downloadgpsd-ba1947dc685dcdd4b9e9020c3dbd68a254a14796.tar.gz
Cleanup.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 8443e908..325625dd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1164,7 +1164,7 @@ env.Command(target="ais_json.i", source="jsongen.py", action='''\
# generate revision.h
if 'dev' in gpsd_version:
- (st, rev) = _getstatusoutput('git describe')
+ (st, rev) = _getstatusoutput('git describe --tags')
if st != 0:
from datetime import datetime
rev = datetime.now().isoformat()[:-4]
@@ -1634,7 +1634,7 @@ flocktest = Utility("flocktest", [], "cd devtools; ./flocktest " + gitrepo)
# Run all normal regression tests
describe = Utility('describe', [],
- '@if [ -d .git ]; then git describe --tags; fi')
+ ['@echo "Run normal regression tests for %s..."' %(rev.strip(),)])
testclean = Utility('test_cleanup', [],
'rm -f test_bits test_geoid test_json test_libgps test_mkgmtime test_packet')
check = env.Alias('check', [