summaryrefslogtreecommitdiffstats
path: root/meta/classes/toolchain-scripts-base.bbclass
diff options
context:
space:
mode:
authorMazliana <mazliana.mohamad@intel.com>2019-02-14 13:50:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-26 15:38:27 +0000
commit075cd5e7fe4458563e73cf96177288d68b76e69a (patch)
treef41a8ca3acaaaca58b541bed10b609cab43824cd /meta/classes/toolchain-scripts-base.bbclass
parentd038d97d48ac77078a398c2214c3f7d2b09c0f08 (diff)
downloadpoky-075cd5e7fe4458563e73cf96177288d68b76e69a.tar.gz
scripts/resulttool: enable manual execution and result creation
Integrated “manualexecution” operation to resulttool scripts. Manual execution script is a helper script to execute all manual test cases in baseline command, which consists of user guideline steps and the expected results. The last step will ask user to provide their input to execute result. The input options are passed/failed/blocked/skipped status. The result given will be written in testresults.json including log error from the user input and configuration if there is any.The output test result for json file is created by using OEQA library. The configuration part is manually key-in by the user. The system allow user to specify how many configuration they want to add and they need to define the required configuration name and value pair. In QA perspective, "configuration" means the test environments and parameters used during QA setup before testing can be carry out. Example of configurations: image used for boot up, host machine distro used, poky configurations, etc. The purpose of adding the configuration is to standardize the output test result format between automation and manual execution. To use these scripts, first source oe environment, then run the entry point script to look for help. $ resulttool To execute manual test cases, execute the below $ resulttool manualexecution <manualjsonfile> By default testresults.json store in <build_dir>/tmp/log/manual/ [YOCTO #12651] (From OE-Core rev: cd2ef260569a67907801299b1397db94aa871cb5) Signed-off-by: Mazliana <mazliana.mohamad@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts-base.bbclass')
0 files changed, 0 insertions, 0 deletions