build: Enable unit testing in SECURED=1 mode for resource
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 30 Nov 2016 22:10:57 +0000 (23:10 +0100)
committerUze Choi <uzchoi@samsung.com>
Thu, 1 Dec 2016 08:05:09 +0000 (08:05 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1486
Change-Id: I38e593d49401f7e14bfa26dd980938d36e66ac68
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14903
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Nivedita Singhvi <niveditasinghvi@gmail.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
auto_build.py

index 105ba84..4c1330e 100644 (file)
@@ -399,7 +399,12 @@ def unit_tests():
                         '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 *************")