X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fhook.py;h=0e94dcde1354cc94d62ca8020e494de5defdc53e;hb=f91080c01104a5999fe6c08e699b3426fea62dad;hp=f4bafa16f1931a46a17b248c0cd962f2f7b823c1;hpb=9b6ece79521a4628fc4116378862db1bdb77be49;p=vpp.git diff --git a/test/hook.py b/test/hook.py index f4bafa16f19..0e94dcde135 100644 --- a/test/hook.py +++ b/test/hook.py @@ -5,6 +5,7 @@ import traceback from log import RED, single_line_delim, double_line_delim from debug import spawn_gdb from subprocess import check_output, CalledProcessError +from util import check_core_path class Hook(object): @@ -70,6 +71,7 @@ class PollHook(Hook): else: self.logger.error("Core file present, debug with: gdb %s %s" % (self.testcase.vpp_bin, core_path)) + check_core_path(self.logger, core_path) self.logger.error("Running `file %s':" % core_path) try: info = check_output(["file", core_path])