summaryrefslogtreecommitdiffstats
path: root/TEST-README.md
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-06-19 13:09:30 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-06-19 13:09:30 +0000
commitba1880a6cf8c750a5b73a3d3003a54622e1f480c (patch)
treec7c3df829fcb9a485bd70b5004735d2bcc57e63d /TEST-README.md
parentdc7ace58b77c628006fd0c7540b2ca047f67716a (diff)
parente457cf8cd7def62ac97e2b05b6d78726fc7ee96c (diff)
Merge "Adding tests for agl-service-mediaplayer"halibut_7.99.2halibut/7.99.27.99.2
Diffstat (limited to 'TEST-README.md')
-rw-r--r--TEST-README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/TEST-README.md b/TEST-README.md
new file mode 100644
index 0000000..ce744e6
--- /dev/null
+++ b/TEST-README.md
@@ -0,0 +1,25 @@
+## 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)
+
+```
+
+The tests for agl-service-mediaplayer require at least a few tracks into your mediaplayer playlist with at least 10 seconds of playtime for seeking test.