Modifying version number for building on tizen 3.0
[platform/upstream/iotivity.git] / resource / unittests / README
1 //---------------------------------------------------------------------
2 // NOTICE - Transition to SCONS
3 //---------------------------------------------------------------------
4
5 The IoTivity build system is transitioning to SCONS. Although the 
6 makefiles are still available (until v1.0) and some developers are 
7 still using them, they are currently no longer supported. To learn more 
8 about building using SCONS see Readme.scons.txt in the repository root 
9 directory. The build steps used in continuous integration can be found
10 in auto_build.sh which is also in the the repository root directory.
11
12 //---------------------------------------------------------------------
13
14 tests.cpp contains unittests for C++ APIs. It uses Google Test for the unit
15 tests.  Note that the unit tests are only to test the functionality of OCApi.h.
16 It is not a system or end-to-end test.
17
18 Unit Test Requirements:
19
20 1. To run the unit test, first build the unit tests with the following command
21    from <oic-resource>:
22
23    make -f buildScript.mk linux_ub_unittests
24
25 2. Run the unit test by issuing the following command from <oic-resource>:
26
27    ./unittests/tests