Guide for Artik530 710 with Tizen 4.0/TCT test
Tizen Compliance Tests (TCT) verify conformance to the Tizen Compliance Specification (TCS). These tests are intended to be used by Tizen device implementers to enable the Tizen-compliant development environment for Tizen application developers. Tizen Compliance Tests consist of Web TCT and Native TCT, which include test suites and tools for testing on the Tizen web stack and the native stack, respectively.
refer to the this site
install TCT program
|TCT Stack||TCT program name|
Just make a folder and decompress TCT program.
Before running the TCT test, the initial environment for testing each function must be set first on Artik/RaspBerry board. And execute sdb enable command as the following because it is used for TCT test remotely, with write permission.
mount -o remount,rw / direct_set_debug.sh –sdb-set
Check model-config.xml file in /etc/config on ARTIK board as the following. the boolean of armv7 must be "true" and set the test function to "true".
# cat /etc/config/model-config.xml ... <key name="tizen.org/feature/platform.core.cpu.arch" type="string">armv7</key> <key name="tizen.org/feature/platform.core.cpu.arch.armv6" type="bool">false</key> <key name="tizen.org/feature/platform.core.cpu.arch.armv7" type="bool">true</key> <key name="tizen.org/feature/platform.core.cpu.arch.armv8" type="bool">false</key> ...
Skip this stage if there are no modifications, or run the commands in the following list to apply modified model-config.xml
rm /etc/system_info_db system_info_init_db chsmack -a "_" /etc/system_info_db sync reboot
Move to the folder installed Native TCT program or Csharp TCT in host PC, run as the following;
HOST$ sudo python tct-setup.py clean clean option is given HOST$ sudo python tct-setup.py
In case of Native TCT
HOST$ python /opt/tct/tizen_native_4.0/scripts/tct-config-device.py
In case of Csharp TCT
HOST$ python /opt/tct/tizen_csharp_4.0/scripts/tct-config-device.py
and run TCT manager
Select "mobile" in profile menu, check the test function required and click 'run' button, then start testing. Some of examples between target functions and test items in Tizen 4.0 is refer to the below table.
|Framework||TCT Native||TCT C#|
TCT Test Results
After finish testing, you can check the result included log message how many items is pass or not. The report of TCT results is saved on following directory in host PC.
TCT-Native results : /opt/tct/tizen_native_4.0/manager/result/ TCT-CSharp results : /opt/tct/tizen_csharp_4.0/manager/result/