build: Extend unit_tests to all (including service)
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 30 Nov 2016 22:14:03 +0000 (23:14 +0100)
committerHabib Virji <habib.virji@samsung.com>
Tue, 13 Dec 2016 17:06:17 +0000 (17:06 +0000)
Bug: https://jira.iotivity.org/browse/IOT-1486
Change-Id: I89426d04e0b05c49470c059ffe60cf90fcb95582
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14971
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Mats Wichmann <mats@osg.samsung.com>
Reviewed-by: George Nash <george.nash@intel.com>
Origin: https://gerrit.iotivity.org/gerrit/#/c/15291/
Reviewed-on: https://gerrit.iotivity.org/gerrit/15291
Reviewed-by: Habib Virji <habib.virji@samsung.com>
auto_build.py

index 0db8d3b..3641f4c 100644 (file)
@@ -490,21 +490,16 @@ def unit_tests():
     build_options = {
                         'RELEASE':'false',
                     }
-    extra_option_str = "resource -c"
-    call_scons(build_options, extra_option_str)
-
-    build_options = {
-                        'LOGGING':'false',
-                        'RELEASE':'false',
-                    }
-    extra_option_str = "resource"
+    extra_option_str = "-c ."
     call_scons(build_options, extra_option_str)
 
     build_options = {
                         'TEST':1,
                         'RELEASE':'false',
                     }
+    extra_option_str = ""
     call_scons(build_options, extra_option_str)
+
     build_options = {
                         'TEST':1,
                         'SECURED':1,