From 098926d47113c75ee36b1101acb31d6d90b45b69 Mon Sep 17 00:00:00 2001 From: Emre Ucan Date: Fri, 11 Dec 2015 15:21:17 +0100 Subject: readme: add How to test section and remove outdated information Signed-off-by: Emre Ucan --- README | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/README b/README index 0f4b495..a9327fe 100644 --- a/README +++ b/README @@ -1,14 +1,16 @@ Sections in this file describe: -- How to build +- How to build - Example applications +- How to test How to build on different platforms ==================================== Pre-requisite: -- Weston works with any shell downloaded from the following URL - http://cgit.freedesktop.org/wayland/weston/ +- Weston - CMake required (version 2.6 or higher) +- Open GLES and EGL for example applications +- Gtest for the test suite Build up 1. Pull the current codebase form the git repo @@ -21,15 +23,6 @@ Build up E.g. cd cmake -DCMAKE_TOOLCHAIN_FILE= ../ - Example of *.cmake - -add_definitions ("-g -O3") -set (CMAKE_FIND_ROOT_PATH ) -set (CMAKE_INSTALL_PREFIX ) -set (FFI_INCLUDE_DIR /usr/lib/libffi-3.0.10/include) -set (XKB_INCLUDE_DIR /include/xkbcommon) -set (CAIRO_INCLUDE_DIR /include/cairo) - 4. Start the build and install E.g. sudo make install @@ -40,7 +33,12 @@ Example applications Pre-requisite: - Modify weston.ini to use ivi-shell.so Example: + [core] shell=ivi-shell.so + + [ivi-shell] + ivi-module=ivi-controller.so,ivi-input-controller.so + - Set Environmental values Example: export XDG_RUNTIME_DIR=/var/run//1000 @@ -49,6 +47,16 @@ Pre-requisite: Start-up Weston: Example: /bin/weston +Start-up HMI helper: + Example: /bin/layer-add-surfaces 1000 1 + EGLWLMockNavigation: Example: /bin/EGLWLMockNavigation +How to test +==================================== +1. Build the testsuite by setting BUILD_ILM_API_TESTS and INSTALL_ILM_API_TESTS options. + Example: cmake -DBUILD_ILM_API_TESTS -DINSTALL_ILM_API_TESTS +2. After starting up Weston run the testsuite. + Example: /bin/ivi-layermanagement-api-test + /bin/ivi-input-api-test -- cgit v1.2.1