Bug 5028

Summary: BlueZ 5 packs tests in a -tests package
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Cristian Iorga <cristian.iorga>
Component: connectivityAssignee: Mihai Prica <mihai.prica>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, sgw
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Cristian Iorga 2013-08-20 16:38:48 UTC
BlueZ 5 packs tests in a -tests package
BlueZ 5 tests needs to be packaged as a ptest package and it should inherit ptest.
Comment 1 Saul Wold 2013-08-21 15:10:39 UTC
Be sure to split according to which of these things currently in tests that are tools vs what are actually tests.
Comment 2 Mihai Prica 2013-09-04 08:49:52 UTC
The bluez5 package is an autotools package and the installation can be checked using "make check".
Besides these tests, it also provides a set of tools that can be used to test different functionality.
I think the solution would be to create a -ptest package that runs the "make check" tests and package the test in another package -testtools.
Comment 3 Mihai Prica 2013-09-16 10:53:35 UTC
* Renamed package from tests to testtools for better clarity with commit: 
ea8494350fc8affa8c8a890e4ba1ba4b70a4ff56.
Link: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ea8494350fc8affa8c8a890e4ba1ba4b70a4ff56

* Opened bug 5134 for adding ptest functionality to bluez5.
Link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=5134