]> code.ossystems Code Review - openembedded-core.git/commit
resulttool/manualexecution: Enable test case configuration option
authorsangeeta jain <sangeeta.jain@intel.com>
Fri, 19 Apr 2019 08:22:26 +0000 (16:22 +0800)
committerArmin Kuster <akuster808@gmail.com>
Sat, 18 May 2019 04:54:58 +0000 (21:54 -0700)
commit1d3696bd3b6d05b91c119ade79c40510d1426a56
tree3cc955b174c6941c9be3252543be2d9308247d95
parent170a233452539b0b6b8fc4db50cf69d848d1ac5b
resulttool/manualexecution: Enable test case configuration option

Current manualexecution required user to exceute all test cases defined inside a "modulename.json" file in oeqa/manual

There are cases when all test cases all not required to run for a module on specific DUT.

Enable manualexecution to have the optional feature where it will use pre-defined json format test case configuration file
where user will be able to select test cases from the "modulename.json" instead of running all of them. This will help
in reducing testing time and reporting unneccesary skip or failures.

Example pre-defined json format test case configuration file (for build-applince):

{
    "testcases" : [
        "build-appliance.build-appliance.Create_core-image-sato-sdk_using_build_appliance",
        "build-appliance.build-appliance.Build_a_image_without_error_(added_recipe)"
    ]
}

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/resulttool/manualexecution.py