aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-04-06 13:22:18 +0000
committerPeter Mikus <pmikus@cisco.com>2020-04-08 16:44:28 +0000
commit56440df4a2d9404aefe5d47ad9db9128fdb33b69 (patch)
tree7d346e99761cef4a1d5a0ce703a1892e2904c0d3 /resources/libraries/robot
parent40ba928d86fc82135e3ec3b106957a7663a62852 (diff)
FIX: Add show log output when test failed.
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I6bdce8156ba214be210c195a9f3effd718301a86
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/shared/test_teardown.robot4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/libraries/robot/shared/test_teardown.robot b/resources/libraries/robot/shared/test_teardown.robot
index fe0dda2f19..1174fde9de 100644
--- a/resources/libraries/robot/shared/test_teardown.robot
+++ b/resources/libraries/robot/shared/test_teardown.robot
@@ -1,4 +1,4 @@
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -34,6 +34,8 @@
| | Remove All Added Ports On All DUTs From Topology | ${nodes}
| | Show PAPI History On All DUTs | ${nodes}
| | Run Keyword If Test Failed
+| | ... | Show Log On All DUTs | ${nodes}
+| | Run Keyword If Test Failed
| | ... | Get Core Files on All Nodes | ${nodes}
| | Run Keyword If Test Failed
| | ... | Verify VPP PID in Teardown