# Universal-Switch ## About Use customizable switches to interact with your phone and selected items shown on the screen. You can set your personal interaction method using external accessories, tapping the screen, or using the front camera to detect the movement of your head, the opening of your mouth, and the blinking of your eyes. Project contains special tool created for developers to help with basic actions as building, deploying and running tests. Tool is called 'project-tool'. Short manual can be printed by adding '-h' option. ## Building Building process can be performed by executing: % ./project-tool --build=[BUILT_TYPE] Available options are: 1. initial: it should be used when there is no GBS-ROOT directory or previously built project was not Universal-Switch 2. fast: the best option when working with Universal-Switch 3. no-test: builds project like 'fast' but does not create package with test scenarios Default value depends on state of GBS-ROOT directory and equals 'initial' or 'fast'. ## Installing Built packages can be easily installed on Tizen reference target by executing: % ./project-tool --install=[PACKAGE] This option base on default path for GBS-ROOT thus may not work properly unless project had been built with 'project-tool'. Tool uses 'sdb' thus it must be reached from PATH. Available optons are: 1. base: installs only application package 2. tests: installs only tests package 3. all: install both packages Default value is 'all'. ## Test running All tests are placed in universal-switch-tests rpm package thus they require Tizen reference target. They can be executed by: % ./project-tool --run-tests ## Extras Due to fact that part of test results are placed in systemd journal, it sometimes happens that there is no place in journal. Journal can be truncated to 1 KB by: % ./project-tool --clean-journal