Bug 10125 - RMC: RMC Project - Provide test suites to run on host and targets
Summary: RMC: RMC Project - Provide test suites to run on host and targets
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.3
Assignee: Jianxun Zhang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-08-11 20:54 UTC by Jianxun Zhang
Modified: 2016-08-24 23:38 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
WIP: RMC internal test case patch (12.24 KB, patch)
2016-08-15 23:47 UTC, Jianxun Zhang
no flags Details | Diff
RMC internal test case patch (13.11 KB, patch)
2016-08-17 16:41 UTC, Jianxun Zhang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jianxun Zhang 2016-08-11 20:54:01 UTC
A test suite should be done before any other enhancement or fixes in rmc project so that we can test RMC project with its repo outside of any build system (e.g. YP) before doing actual update and merging changes.

THIS TEST SUITE IS NOT TO REPLACE ANY RMC TEST CASES IN YOCTO QA.

- Check in some sample boards data
- Cover database generation at build time
- Cover basic functionality test on targets like:
  - query file blob from built RMC database with sample data
  - Obtain fingerprint of running board
Comment 1 Jianxun Zhang 2016-08-15 23:47:15 UTC
Created attachment 3358 [details]
WIP: RMC internal test case patch
Comment 2 Jianxun Zhang 2016-08-15 23:49:03 UTC
Saul,
I already have a WIP patch (attached) to add internal test in RMC project. I should submit it in this week, so I assign it back to myself.
Comment 3 Jianxun Zhang 2016-08-17 16:41:24 UTC
Created attachment 3364 [details]
RMC internal test case patch

Upload patch submitted to yocto mailing list.
Comment 4 Jianxun Zhang 2016-08-24 00:52:47 UTC
Patch has been merged to 'rmc-dev' branch which is for changes passed review and internal test. I will merge it with other changes to 'master' branch in rmc project then we can close it.
Comment 5 Jianxun Zhang 2016-08-24 23:38:55 UTC
Patch has been merged into RMC project in batch:
http://git.yoctoproject.org/cgit/cgit.cgi/rmc/commit/?id=29e943dfa8cb60d9e06d9b133508de57754ce9c7