Add shell=True to make sure that sdb does exist
[tools/litmus.git] / README.md
1 Litmus is an automated testing tool for tizen arm devices.
2
3
4 # Prerequisite
5
6 Litmus uses sdb to communicate with device.
7 sdb is not released on download.tizen.org/tools but you can find it from sdk.
8
9 Install sdb from tizen sdk or download binary from below url.
10
11 32bit:
12     https://download.tizen.org/sdk/tizenstudio/official/binary/sdb_2.3.0_ubuntu-32.zip
13
14 64bit:
15     https://download.tizen.org/sdk/tizenstudio/official/binary/sdb_2.3.0_ubuntu-64.zip
16
17 Unzip this package and copy sdb binary to /usr/bin
18
19     $ wget http://download.tizen.org/sdk/tizenstudio/official/binary/sdb_2.3.0_ubuntu-64.zip \
20       && unzip sdb_2.3.0_ubuntu-64.zip -d ./temp \
21       && sudo cp ./temp/data/tools/sdb /usr/bin \
22       && rm -f sdb_2.3.0_ubuntu-64.zip \
23       && rm -rf ./temp
24
25
26 # Buliding & installing
27
28 Clone this project
29
30     $ git clone https://github.com/dhs-shine/litmus
31    
32 Build a deb package with debuild
33
34     $ cd litmus
35     $ debuild
36
37 Install the deb package by using dpkg
38
39     $ cd ..
40     $ sudo dpkg -i litmus_0.3.5-1_amd64.deb
41
42
43 Getting started
44 ---------------
45
46 Create a litmus project:
47
48     $ litmus mk [project_name]
49
50 Modify [project_path]/userscript.py and [project_path]/conf.yaml
51
52 Run the litmus project
53
54     $ litmus run [project_name]
55
56
57 Please refer to litmus wiki for more details.
58
59   https://github.com/dhs-shine/litmus/wiki
60   https://wiki.tizen.org/wiki/Litmus