From 08c57b7cc8ddcdbc40c65bd2c2cc40e7fda4d205 Mon Sep 17 00:00:00 2001 From: Leonid Lazarev Date: Thu, 9 Jul 2020 16:59:44 +0300 Subject: Add tests for cloudproxy service Test cases for basic functionality verification have been added. Build of the application has been adapted for Cmake templates usage. Bug-AGL: SPEC-3485 Change-Id: Iaa4a5e393ac9971be4176e90fa5aee10a4673cd3 Signed-off-by: Leonid Lazarev (cherry picked from commit 329d8ba3fb46b8afc803ad4a9b286cd26141f2f8) --- 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..f81d558 --- /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