summaryrefslogtreecommitdiffstats
path: root/test/run_tests.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-03-13 21:22:32 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-14 13:33:45 +0000
commit833e76151fb8535a35781e227e6e69d657aa9300 (patch)
tree864526eaa81c137e78b0725f34dd1cadc4fcb940 /test/run_tests.py
parent63f1859de149e79d7b85af25882faaac5f6e530a (diff)
make test: handle multiple failures in one case
Change-Id: I5451ddec4bfdede12653415f90bf991e81494033 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/run_tests.py')
-rw-r--r--test/run_tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/run_tests.py b/test/run_tests.py
index fd8ca1f50ab..a3d533633dc 100644
--- a/test/run_tests.py
+++ b/test/run_tests.py
@@ -99,7 +99,10 @@ def run_forked(suite):
link_path = '%s%s-FAILED' % (failed_dir, lttd)
global_logger.error("Creating a link to the failed " +
"test: %s -> %s" % (link_path, lttd))
- os.symlink(last_test_temp_dir, link_path)
+ try:
+ os.symlink(last_test_temp_dir, link_path)
+ except:
+ pass
api_post_mortem_path = "/tmp/api_post_mortem.%d" % vpp_pid
if os.path.isfile(api_post_mortem_path):
global_logger.error("Copying api_post_mortem.%d to %s" %