[Tests] Added check function to inspect dependent commands
authorGeunsik Lim <geunsik.lim@samsung.com>
Thu, 28 Jun 2018 01:44:28 +0000 (10:44 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Thu, 28 Jun 2018 04:10:54 +0000 (13:10 +0900)
commit6e64030afbb3d309f2ea4fddfb8f607cd97de523
tree3e41544d38d80e6873bd8a82decef122bd51f5cc
parent0cd2a9764956da4529f304bfd31fd4aead6290e0
[Tests] Added check function to inspect dependent commands

This PR is to append a dependency check routine to inspect the required
packages are install before starting tests/testAPI.sh

**Changes proposed in this PR:**
1. Added dependency check function
2. Applied shell commands with checkDependency()
   - gst-launch-1.0, cmp, dirname, basename, sed, and find

**Self assessment:**
1. gbs build: okay
2. local test: okay

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
tests/testAPI.sh
tests/testAll.sh