summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 00ef51f..db132fd 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -211,7 +211,7 @@ def get_tests_from_module(tmod):
211 try: 211 try:
212 import importlib 212 import importlib
213 modlib = importlib.import_module(tmod) 213 modlib = importlib.import_module(tmod)
214 for mod in vars(modlib).values(): 214 for mod in list(vars(modlib).values()):
215 if isinstance(mod, type(oeSelfTest)) and issubclass(mod, oeSelfTest) and mod is not oeSelfTest: 215 if isinstance(mod, type(oeSelfTest)) and issubclass(mod, oeSelfTest) and mod is not oeSelfTest:
216 for test in dir(mod): 216 for test in dir(mod):
217 if test.startswith('test_') and hasattr(vars(mod)[test], '__call__'): 217 if test.startswith('test_') and hasattr(vars(mod)[test], '__call__'):