mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 15:36:25 +00:00
tests: analyze should also check /tmp/topotests/topotests.xml
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
c451c0296c
commit
3f264d54f9
@ -198,9 +198,12 @@ def main():
|
||||
logging.critical("%s doesn't exist", args.results)
|
||||
sys.exit(1)
|
||||
ttfiles = [args.results]
|
||||
elif os.path.exists("/tmp/topotests/topotests.xml"):
|
||||
ttfiles.append("/tmp/topotests/topotests.xml")
|
||||
|
||||
if not ttfiles and os.path.exists("/tmp/topotests.xml"):
|
||||
ttfiles.append("/tmp/topotests.xml")
|
||||
if not ttfiles:
|
||||
if os.path.exists("/tmp/topotests.xml"):
|
||||
ttfiles.append("/tmp/topotests.xml")
|
||||
|
||||
for f in ttfiles:
|
||||
m = re.match(r"tt-group-(\d+)/topotests.xml", f)
|
||||
|
Loading…
Reference in New Issue
Block a user