Skip to content

Commit

Permalink
README: update for unit testing
Browse files Browse the repository at this point in the history
To build with unit testing, need to use flag BUILD_ILM_UNIT_TESTS.

Signed-off-by: Au Doan Ngoc <[email protected]>
  • Loading branch information
audoan99 committed Apr 21, 2023
1 parent 0a107fa commit ecefb9d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,18 @@ EGLWLMockNavigation:
Syntax: [wayland_display_to_connect_to] <your installation path>/bin/EGLWLMockNavigation
Example: WAYLAND_DISPLAY=wayland-1 $HOME/bin/EGLWLMockNavigation

How to test
How to test functional testing
====================================
1. Build the testsuite by setting BUILD_ILM_API_TESTS option.
Example: cmake -DBUILD_ILM_API_TESTS
2. After starting up Weston run the testsuite.
Syntax: [wayland_display_to_connect_to] <your installation path>/bin/ivi-layermanagement-api-test
Example: WAYLAND_DISPLAY=wayland-1 $HOME/bin/ivi-layermanagement-api-test

How to test unit testing
====================================
1. Build the testsuite by setting BUILD_ILM_UNIT_TESTS option.
Example: cmake -DBUILD_ILM_UNIT_TESTS=ON
2. After build successfully, just run the testsuite right away.
Syntax: <your installation path>/bin/unittest*
Example: $HOME/install/bin/unittest-ivi-controller

0 comments on commit ecefb9d

Please sign in to comment.