summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/testimage.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index add8009d47..1161e593dc 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -122,7 +122,8 @@ def testimage_main(d):
try:
loadTests(tc)
except Exception as e:
- bb.fatal("Loading tests failed:\n %s" % e)
+ import traceback
+ bb.fatal("Loading tests failed:\n%s" % traceback.format_exc())
target.deploy()