Skip to content

Commit 7f1ac39

Browse files
author
Vasileios Karakasis
committed
Emit hint to use -v for details on test errors
1 parent c2bce8e commit 7f1ac39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reframe/core/decorators.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ def _instantiate_all():
4040
_instantiate(cls, args)
4141
except Exception as e:
4242
frame = user_frame(sys.exc_info()[2])
43-
msg = 'skipping test due to errors: %s\n' % cls.__name__
44-
msg += ' %s:%s' % (frame.filename, frame.lineno)
43+
msg = "skipping test due to errors: %s: " % cls.__name__
44+
msg += "use `-v' for more information\n"
45+
msg += " FILE: %s:%s" % (frame.filename, frame.lineno)
4546
getlogger().warning(msg)
4647
getlogger().verbose(traceback.format_exc())
4748

0 commit comments

Comments
 (0)