From e457cf8cd7def62ac97e2b05b6d78726fc7ee96c Mon Sep 17 00:00:00 2001 From: Edi Feschiyan Date: Thu, 2 May 2019 15:14:29 +0300 Subject: Adding tests for agl-service-mediaplayer Bug-AGL: SPEC-2525 Change-Id: Ib95aeaf94ead93a96c90041569db2714928e686d Signed-off-by: Edi Feschiyan --- TEST-README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..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@:~ +ssh root@ +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. -- cgit 1.2.3-korg