Bug 10125

Summary: RMC: RMC Project - Provide test suites to run on host and targets
Product: [Build System, Metadata & Runtime] BSPs Reporter: Jianxun Zhang <jianxun.zhang>
Component: bsps-meta-intelAssignee: Jianxun Zhang <jianxun.zhang>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: sgw
Version: 2.2   
Target Milestone: 2.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
WIP: RMC internal test case patch
none
RMC internal test case patch none

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