build: Add WITH_TEST to build of tests optionnal 17/23717/4
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 8 Dec 2017 08:47:24 +0000 (09:47 +0100)
committerMats Wichmann <mats@linux.com>
Thu, 21 Dec 2017 23:11:35 +0000 (23:11 +0000)
commit56c3ea460acc0fd4c43260ed88c1f4de2700c6b1
tree2b698692d51656e2fda7b81916a9b4b178d16b25
parenta07be9c77bd58d3275d351806f37494a91dd96e9
build: Add WITH_TEST to build of tests optionnal

There are some case we don't want to build unit_tests
(and also not run them),
ie when building for tizen as linux (without tizen API)

In some others caseswhere we want to build tests and not run them,
to eventually package them and test them on various devices (ie Yocto).

In future it would be good to try to build test in more platforms,
and remove if linux cases,
Also platforms that don't care about unit_testing can use this flag.

Bug: https://jira.iotivity.org/browse/IOT-524
Change-Id: Ib628aa572023578e007917b0c0e03d9a9a48cb33
Origin: https://gerrit.iotivity.org/gerrit/23717
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
build_common/SConscript
resource/SConscript
service/coap-http-proxy/SConscript
service/easy-setup/enrollee/SConscript
service/easy-setup/mediator/richsdk/SConscript
service/notification/SConscript
service/notification/cpp-wrapper/SConscript
service/resource-container/SConscript
service/resource-encapsulation/SConscript
service/resource-encapsulation/src/serverBuilder/SConscript
service/scene-manager/SConscript