From f26b124ec8c70f933eb8f7ec7d991b4ab822b210 Mon Sep 17 00:00:00 2001 From: Edi Feschiyan Date: Fri, 3 May 2019 12:07:20 +0300 Subject: Adding tests for agl-service-geoclue Bug-AGL: SPEC-2526 Change-Id: I96251cc7880348253ffced94d5373492cd52b244 Signed-off-by: Edi Feschiyan --- TEST-README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 TEST-README.md (limited to 'TEST-README.md') diff --git a/TEST-README.md b/TEST-README.md new file mode 100644 index 0000000..e858657 --- /dev/null +++ b/TEST-README.md @@ -0,0 +1,23 @@ +## Building the test widgets +1. Source the SDK environment script +2. Create a build directory +3. Configure and build the project + +``` +mkdir build +cd build +cmake .. -DBUILD_TEST_WGT=TRUE +make +make widget +``` +Note: If you omit the -DBUILD_TEST_WGT=TRUE parameter for cmake, you'll have to type `make test_widget` to compile the test widget. + +This should produce two _.wgt_ files - one with the service and one with the tests within the build directory. + +Run the tests: +``` +scp *.wgt root@:~ +ssh root@ +afm-test $(ls *test.wgt) + +``` -- cgit 1.2.3-korg