Sample HTTPS server
[platform/upstream/iotivity.git] / auto_build.py
index da8183f..d40bf2f 100644 (file)
@@ -36,6 +36,7 @@ def call_scons(build_options, extra_option_str):
     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)
@@ -383,12 +384,13 @@ def unit_tests():
     print ("*********** Unit test Start *************")
     build_options = {
                         'RELEASE':'false',
+                        'LOGGING':'true'
                     }
     extra_option_str = "resource -c"
     call_scons(build_options, extra_option_str)
 
     build_options = {
-                        'LOGGING':'false',
+                        'LOGGING':'true',
                         'RELEASE':'false',
                     }
     extra_option_str = "resource"
@@ -397,8 +399,15 @@ def unit_tests():
     build_options = {
                         'TEST':1,
                         'RELEASE':'false',
+                        'LOGGING':'true',
+                    }
+    call_scons(build_options, extra_option_str)
+    build_options = {
+                        'TEST':1,
+                        'SECURED':1,
+                        'RELEASE':'false',
+                        'LOGGING':'true',
                     }
-    extra_option_str = "resource"
     call_scons(build_options, extra_option_str)
 
     print ("*********** Unit test Stop *************")