Bug 5028 - BlueZ 5 packs tests in a -tests package
Summary: BlueZ 5 packs tests in a -tests package
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M5
Assignee: Mihai Prica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-20 16:38 UTC by Cristian Iorga
Modified: 2013-09-16 10:53 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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