From 4f0fc5c1b993b6590c98a4d2d82a9b343875dad5 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 19 Oct 2018 17:37:50 +0200 Subject: 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: Ibc890660cd2209516195ad0f3cf2069e2612b0d4 Signed-off-by: Romain Forlot --- test/afb-test/etc/aft-aftest-selftest.json | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'test') 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", -- cgit 1.2.3-korg