Improving check for xfail directory

This commit is contained in:
Sergio Durigan Junior 2016-06-14 14:24:47 -04:00
parent 085e1e0ac9
commit 7eab0bb490

View file

@ -355,6 +355,7 @@ send to the gdb-testers mailing list."""
# Including the 'xfail' log. It is important to say which tests
# we are ignoring.
if found_regressions:
if os.path.exists (os.path.join (gdb_web_base, name)):
xfail_commit = os.path.join (gdb_web_base, name, 'xfails', branch, '.last-commit')
text += "\n\n*** Complete list of XFAILs for this builder ***\n\n"
if os.path.exists (xfail_commit):