diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-05 17:16:14 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-09 15:31:19 +0000 |
commit | 52f416b5d9e98ac741bf53dad12378d0d3e9c567 (patch) | |
tree | 7abd170ae363d3920b17190ea5efc443948ca262 /conf.d/controller/etc/aft-afbtest.json | |
parent | 25903e6eaaa0c068b9b51bdc93e659d257be6f4d (diff) |
Unify test launch between target and native
On a target, the binder process name is taken from the widget "id",
now the native launcher script also launches the binder using the widget "id".
As the controller searches its configuration file using the binder process middle name
we need to differentiate between both "id" otherwise the wrong configuration file is used.
The commit renames configuration file according to the new "id".
Change-Id: Icd01abe21ddee562518c7f822baca8b098bbb55e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/controller/etc/aft-afbtest.json')
-rw-r--r-- | conf.d/controller/etc/aft-afbtest.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/conf.d/controller/etc/aft-afbtest.json b/conf.d/controller/etc/aft-afbtest.json new file mode 100644 index 0000000..c541c2b --- /dev/null +++ b/conf.d/controller/etc/aft-afbtest.json @@ -0,0 +1,22 @@ +{ + "id": "http://iot.bzh/download/public/schema/json/ctl-schema.json#", + "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json#", + "metadata": { + "uid": "Test", + "version": "1.0", + "api": "aft", + "info": "Binding made to test other bindings", + "require": [ + "hello" + ] + }, + "testVerb": { + "uid": "launch_all_tests", + "info": "Launch all the tests", + "action": "lua://AFT#_launch_test", + "args": { + "trace": "hello", + "files": ["aftTest.lua","helloworld.lua"] + } + } +} |