diff options
| -rw-r--r-- | meta/lib/oeqa/oetest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 0b7e7dc42d..a3c5c1d358 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
| @@ -11,6 +11,7 @@ import os, re, mmap | |||
| 11 | import unittest | 11 | import unittest |
| 12 | import inspect | 12 | import inspect |
| 13 | import subprocess | 13 | import subprocess |
| 14 | import bb | ||
| 14 | from oeqa.utils.decorators import LogResults | 15 | from oeqa.utils.decorators import LogResults |
| 15 | 16 | ||
| 16 | def loadTests(tc, type="runtime"): | 17 | def loadTests(tc, type="runtime"): |
| @@ -33,8 +34,8 @@ def loadTests(tc, type="runtime"): | |||
| 33 | def runTests(tc, type="runtime"): | 34 | def runTests(tc, type="runtime"): |
| 34 | 35 | ||
| 35 | suite = loadTests(tc, type) | 36 | suite = loadTests(tc, type) |
| 36 | print("Test modules %s" % tc.testslist) | 37 | bb.note("Test modules %s" % tc.testslist) |
| 37 | print("Found %s tests" % suite.countTestCases()) | 38 | bb.note("Found %s tests" % suite.countTestCases()) |
| 38 | runner = unittest.TextTestRunner(verbosity=2) | 39 | runner = unittest.TextTestRunner(verbosity=2) |
| 39 | result = runner.run(suite) | 40 | result = runner.run(suite) |
| 40 | 41 | ||
