Comment 5 for bug 907150

Revision history for this message
Jeff Lane  (bladernr) wrote :

Nope... the requires directive is honored properly, it's the depends directive that's the problem. Since the depends is ignored, even though wireless/wireless_connection doesn't run the wireless tests themselves are run.

So basically, it looks like this is happening:

wireless/wireless_connection is skipped because "requires: device.category == 'WIRELESS'" is not met.
suspend/wireless_before_suspend is run because "depends: wireless/wireless_connection" is ignored

A possible solution would be to add:

requires: device.category == 'WIRELESS'

to all wireless testing jobs... this would work around the depends issue and hopefully ensure that the tests are not run if wireless is not found.

Still doesn't resolve the issue of what to do if the parent (wireless/wireless_connection) fails, but at least that should prevent the tests from running otherwise.