summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-03-07 17:30:28 -0800
committerFlorin Coras <florin.coras@gmail.com>2019-03-11 01:09:32 +0000
commita1bfb3a4d2eeb79311e2eea2c84779c798e275cd (patch)
tree3c70784f524e27312726523d6c4b75abe6a1dc3c /test
parent593eedf2561f639703d366cd21ab0c3ae03bdb0c (diff)
Test: Fix hook.py: AttributeError
File "/vpp/test/hook.py", line 84, in on_crash self.testcase.vpp_bin, core_path) AttributeError: 'PollHook' object has no attribute 'testcase' Change-Id: I84d9d86a5c6a5769a43a91cf23ce8a1141f7cd12 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test')
-rw-r--r--test/hook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hook.py b/test/hook.py
index 187e13e4ab7..6c971c9937f 100644
--- a/test/hook.py
+++ b/test/hook.py
@@ -81,7 +81,7 @@ class PollHook(Hook):
def on_crash(self, core_path):
self.logger.error("Core file present, debug with: gdb %s %s",
- self.testcase.vpp_bin, core_path)
+ self.test.vpp_bin, core_path)
check_core_path(self.logger, core_path)
self.logger.error("Running `file %s':", core_path)
try: