Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
generator: Strings are utf-8 by default in python3
[apps/agl-service-can-low-level.git]
/
tests
/
SConstruct
diff --git
a/tests/SConstruct
b/tests/SConstruct
index
9c222da
..
d8ab9ab
100644
(file)
--- a/
tests/SConstruct
+++ b/
tests/SConstruct
@@
-72,6
+72,11
@@
if not env.GetOption('clean'):
else:
conf.env.Append(PROTOCPATH = '/usr/include')
else:
conf.env.Append(PROTOCPATH = '/usr/include')
+ # Check protoc version
+ status, output = conf.TryAction('$PROTOC --version > $TARGET')
+ if status:
+ conf.env['PROTOC_VERSION'] = output
+
# Check if libmudflap is available (only with GCC)
if 'gcc' in env['CC']:
if conf.CheckLib('mudflap'):
# Check if libmudflap is available (only with GCC)
if 'gcc' in env['CC']:
if conf.CheckLib('mudflap'):