forked from ubports/ubuntu-ui-extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
45 lines (29 loc) · 1.06 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Ubuntu exta components are a collection of components that does not have the necessary
level of quality for inclusion in the toolkit (https://launchpad.net/ubuntu-ui-toolkit):
- lack of documentation
- lack of automated tests
= Dependencies =
$ apt-get install qtcore5-dev
qtbase5-dev
qtdeclarative5-dev
libexiv2-dev
libcups2-dev
install the cmake-extras from the ubports github
= Building =
The build system uses cmake.
To compile, simply invoke cmake and then make:
$ cmake .
$ make
= Unit tests =
To run the unit tests, you can use the commands below:
$ make test
- or -
$ ctest
= Automated UI tests =
We use autopilot (https://launchpad.net/autopilot) to test the UI.
To run the tests, you will need to install python-autopilot and libautopilot-qt.
Then do the following:
$ cd tests/autopilot/
$ autopilot run ubuntu_ui_extras
You can get a list of all available tests with the following command:
$ autopilot list ubuntu_ui_extras