diff options
author | Leonid Lazarev <leonid.lazarev@orioninc.com> | 2020-07-09 16:59:44 +0300 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-09-23 16:16:32 +0000 |
commit | 08c57b7cc8ddcdbc40c65bd2c2cc40e7fda4d205 (patch) | |
tree | 7a77c4ae35888212ed323179c1f660bd0647cc1c /TEST-README.md | |
parent | 2b1651215ca05273138e657d168676c5c22a13e5 (diff) |
Add tests for cloudproxy servicejellyfish_10.0.3jellyfish_10.0.2jellyfish_10.0.1jellyfish/10.0.3jellyfish/10.0.2jellyfish/10.0.110.0.310.0.210.0.1jellyfish
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 <leonid.lazarev@orioninc.com>
(cherry picked from commit 329d8ba3fb46b8afc803ad4a9b286cd26141f2f8)
Diffstat (limited to 'TEST-README.md')
-rw-r--r-- | TEST-README.md | 23 |
1 files changed, 23 insertions, 0 deletions
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@<board-ip>:~ +ssh root@<board-ip> +afm-test $(ls *test.wgt) + +``` |