projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added thread for security and cloud provisioning.
[platform/upstream/iotivity.git]
/
auto_build.py
diff --git
a/auto_build.py
b/auto_build.py
index
f90434d
..
4c1330e
100644
(file)
--- a/
auto_build.py
+++ b/
auto_build.py
@@
-36,6
+36,7
@@
def call_scons(build_options, extra_option_str):
cmd_line += " " + str(extra_option_str)
print ("Running : " + cmd_line)
cmd_line += " " + str(extra_option_str)
print ("Running : " + cmd_line)
+ sys.stdout.flush()
exit_code = subprocess.Popen([cmd_line], shell=True).wait()
if exit_code != 0:
exit(exit_code)
exit_code = subprocess.Popen([cmd_line], shell=True).wait()
if exit_code != 0:
exit(exit_code)
@@
-133,7
+134,7
@@
def build_linux_unsecured_with_rd(flag, extra_option_str):
print ("*********** Build for linux With Resource Directory *************")
build_options = {
'RELEASE':flag,
print ("*********** Build for linux With Resource Directory *************")
build_options = {
'RELEASE':flag,
- '
WITH_RD':1
,
+ '
RD_MODE':'all'
,
}
call_scons(build_options, extra_option_str)
}
call_scons(build_options, extra_option_str)
@@
-141,7
+142,7
@@
def build_linux_secured_with_rd(flag, extra_option_str):
print ("*********** Build for linux With Resource Directory & Security ************")
build_options = {
'RELEASE':flag,
print ("*********** Build for linux With Resource Directory & Security ************")
build_options = {
'RELEASE':flag,
- '
WITH_RD':1
,
+ '
RD_MODE':'all'
,
'SECURED':1,
}
call_scons(build_options, extra_option_str)
'SECURED':1,
}
call_scons(build_options, extra_option_str)
@@
-348,7
+349,7
@@
def build_windows(flag, extra_option_str):
'BUILD_SAMPLE':'ON',
'LOGGING':'off',
'TEST':1,
'BUILD_SAMPLE':'ON',
'LOGGING':'off',
'TEST':1,
- '
WITH_RD':1
,
+ '
RD_MODE':'all'
,
}
call_scons(build_options, extra_option_str)
}
call_scons(build_options, extra_option_str)
@@
-367,7
+368,7
@@
def build_msys(flag, extra_option_str):
'BUILD_SAMPLE':'ON',
'LOGGING':'off',
'TEST':1,
'BUILD_SAMPLE':'ON',
'LOGGING':'off',
'TEST':1,
- '
WITH_RD':1
,
+ '
RD_MODE':'all'
,
}
call_scons(build_options, extra_option_str)
}
call_scons(build_options, extra_option_str)
@@
-398,7
+399,12
@@
def unit_tests():
'TEST':1,
'RELEASE':'false',
}
'TEST':1,
'RELEASE':'false',
}
- extra_option_str = "resource"
+ call_scons(build_options, extra_option_str)
+ build_options = {
+ 'TEST':1,
+ 'SECURED':1,
+ 'RELEASE':'false',
+ }
call_scons(build_options, extra_option_str)
print ("*********** Unit test Stop *************")
call_scons(build_options, extra_option_str)
print ("*********** Unit test Stop *************")