diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2018-08-28 17:01:48 +0200 |
---|---|---|
committer | Frédéric Marec <frederic.marec@iot.bzh> | 2018-10-04 12:37:01 +0000 |
commit | c729e902dff501c8c3e441d49c6d0fe1ad28eede (patch) | |
tree | d4678a3e7115149a17ce796752e32dc403c52c52 /test/afb-test.sh | |
parent | 0648db82e6a5694befcf9e2fff25f4392e6814e1 (diff) |
Add tests for iiodevice binding
Add test for accelerometer, compass and gyroscope
Add script beforeAll.sh to initiate iio dummy devices
Add Readme.md to describe how to use test
Fix BUILD_TYPE in cmake.config
Change-Id: I39edfce6a43b519c0ff6bc0a7d2f1d2477098cff
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'test/afb-test.sh')
-rwxr-xr-x | test/afb-test.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/afb-test.sh b/test/afb-test.sh index f11e4ea..fa4f821 100755 --- a/test/afb-test.sh +++ b/test/afb-test.sh @@ -14,7 +14,7 @@ export AFT_PLUGIN_PATH="${TESTPACKAGEDIR}/var:${TESTPACKAGEDIR}/lib/plugins" pkill $PROCNAME -timeout -s 9 10 ${BINDER} --name="${PROCNAME}" \ +timeout -s 9 10 "${BINDER}" --name="${PROCNAME}" \ --port="${PORT}" \ --roothttp=. \ --tracereq=common \ @@ -27,5 +27,3 @@ timeout -s 9 10 ${BINDER} --name="${PROCNAME}" \ -vvv > "${LOGFILE}" 2>&1 find "${BUILDDIR}" -name test_results.log -exec cat {} \; - - |