Bug 8465 - oetest: Dumps doesn't work with kernel_module test
Summary: oetest: Dumps doesn't work with kernel_module test
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1 M1
Assignee: Mariano Lopez
QA Contact: Daniel Istrate
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-10-08 15:38 UTC by Mariano Lopez
Modified: 2016-02-08 16:14 UTC (History)
2 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 Mariano Lopez 2015-10-08 15:38:37 UTC
kernel_module
Comment 1 Mariano Lopez 2015-10-08 15:54:30 UTC
kernel_module has a tearDown method implemented that overwrites the parent's class (oeRuntimeTest) tearDown and because of this, the dumps doesn't work
Comment 2 Mariano Lopez 2015-10-08 15:58:14 UTC
There are other classes that have a tearDown method defined:

_ptest, buildcvs, buildiptables, buildsudoku, date, gcc, kernelmodule, perl, python, rpm, and smart
Comment 3 Mariano Lopez 2015-10-14 15:00:51 UTC
It is necessary to have define a tearDownLocal method to handle the individual tearDown cases from the tests.
Comment 4 Mariano Lopez 2015-10-15 14:44:42 UTC
Please disregard the classes mentioned previously. The only classes that have tearDown or setUp methods are:

_ptest
date
kernelmodule
scanelf
Comment 5 Mariano Lopez 2015-10-15 14:44:58 UTC
Sent patches to the mailing list
Comment 6 Ross Burton 2015-10-19 19:16:19 UTC
Fixed in oe-core 13282223b07787a92c251f89251e8a49a0e4e3eb.