summaryrefslogtreecommitdiffstats
path: root/TEST-README.md
diff options
context:
space:
mode:
authorEdi Feschiyan <edi.feschiyan@konsulko.com>2019-04-25 22:02:05 +0300
committerEdi Feschiyan <edi.feschiyan@konsulko.com>2019-06-17 23:56:41 +0300
commit960e590d60f722b8dc4bb8d4d68462fc722572de (patch)
tree5e203f716cb00dbb332dbb8ff88e5c97051d6019 /TEST-README.md
parent51b1c8317c918cf0abad847f8aa50583c540b4ba (diff)
Adding weather service tests
Bug-AGL: SPEC-2529 Change-Id: I45e875c7ee9b0b77b2d2fb6c94e4bbcf78c1e65d Signed-off-by: Edi Feschiyan <edi.feschiyan@konsulko.com>
Diffstat (limited to 'TEST-README.md')
-rw-r--r--TEST-README.md23
1 files changed, 23 insertions, 0 deletions
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@<board-ip>:~
+ssh root@<board-ip>
+afm-test $(ls *test.wgt)
+
+```