summaryrefslogtreecommitdiff
path: root/tests/topotests/analyze.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/analyze.py')
-rwxr-xr-xtests/topotests/analyze.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/topotests/analyze.py b/tests/topotests/analyze.py
index 888e706339..bdb2e56ee1 100755
--- a/tests/topotests/analyze.py
+++ b/tests/topotests/analyze.py
@@ -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)