mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 19:37:50 +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)
|
logging.critical("%s doesn't exist", args.results)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
ttfiles = [args.results]
|
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"):
|
if not ttfiles:
|
||||||
ttfiles.append("/tmp/topotests.xml")
|
if os.path.exists("/tmp/topotests.xml"):
|
||||||
|
ttfiles.append("/tmp/topotests.xml")
|
||||||
|
|
||||||
for f in ttfiles:
|
for f in ttfiles:
|
||||||
m = re.match(r"tt-group-(\d+)/topotests.xml", f)
|
m = re.match(r"tt-group-(\d+)/topotests.xml", f)
|
||||||
|
Loading…
Reference in New Issue
Block a user