summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-10-19 17:37:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-24 14:04:10 +0200
commitf0170f8f8c25136b4d3cf4e3751e7f1511f46026 (patch)
treea24aefe0933035c50527a3a2edf3435f1e5ce0e3 /test
parent4e10fe3518737386ae34e25d2102d23aeddd2942 (diff)
Improve native launching method
This will launch every verbs defined in the test configuration file instead of only the hardcoded launch_all_tests verbs Change-Id: I95f2714054403899424ae5f567903cfa0bbd49f4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'test')
-rw-r--r--test/afb-test/etc/aft-aftest-selftest.json17
1 files changed, 13 insertions, 4 deletions
diff --git a/test/afb-test/etc/aft-aftest-selftest.json b/test/afb-test/etc/aft-aftest-selftest.json
index 5a3f1dd..7335a50 100644
--- a/test/afb-test/etc/aft-aftest-selftest.json
+++ b/test/afb-test/etc/aft-aftest-selftest.json
@@ -10,15 +10,24 @@
"low-can"
]
},
- "testVerb": {
- "uid": "launch_all_tests",
- "info": "Launch all the tests",
+ "testVerb": [{
+ "uid": "short",
+ "info": "Launch the short session of tests",
"action": "lua://AFT#_launch_test",
"args": {
"trace": "low-can",
- "files": [ "aftTest.lua", "mapi_tests.lua" ]
+ "files": "aftTest.lua"
}
},
+ {
+ "uid": "long",
+ "info": "Launch the long session of tests",
+ "action": "lua://AFT#_launch_test",
+ "args": {
+ "trace": "low-can",
+ "files": [ "aftTest.lua", "mapi_tests.lua" ]
+ }
+ }],
"mapis": [{
"uid": "low-can",
"info": "Faked low-can API",