summaryrefslogtreecommitdiffstats
path: root/TEST-README.md
diff options
context:
space:
mode:
authorEdi Feschiyan <edi.feschiyan@konsulko.com>2019-05-02 18:37:03 +0300
committerEdi Feschiyan <edi.feschiyan@konsulko.com>2019-06-18 00:25:09 +0300
commita8400563edde51db455bf04781b74e4fdda020c1 (patch)
treedd1066658d1c23f194fb9f5993bcd7ad1c2aa3c0 /TEST-README.md
parent586e45622876ab25bcf3e9ac98ef8c4f1f2d1351 (diff)
Bug-AGL: SPEC-2528 Signed-off-by: Edi Feschiyan <edi.feschiyan@konsulko.com> Change-Id: Ida3727dd07a9374f4c08c68d8f7df92613b889ae
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)
+
+```