]> 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>
Thu, 2 May 2019 20:33:00 +0000 (13:33 -0700)
commitd35de5383275a5d83317160ce3dc09a20661a572
treed48cde8000418eb53cb3e0aca9e3124175b533c5
parent6ba5f32333e9ed6be980ca2b71b547f795e83497
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