summaryrefslogtreecommitdiff
path: root/conform
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-03-18 00:16:05 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-03-18 00:16:05 +0000
commit22b72f356d6dd6f394cc632d7fbef80490e9f4c4 (patch)
tree0ef3ba8c94b7da52498f76457250d620b5e9e086 /conform
parent17f487b7afa7cd6c316040f3e6c86dc96b2eec30 (diff)
conformtest: Handle conditional XFAILs with allow-header.
This patch fixes the conformtest handling of headers listed in allow-header to process xfail[cond]- in the expectations for those headers. Tested with build-many-glibcs.py. * conform/conformtest.pl: Handle xfail[cond]- in header mentioned with allow-header.
Diffstat (limited to 'conform')
-rw-r--r--conform/conformtest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index 7594f466ed..cb500f0e76 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -810,7 +810,7 @@ while ($#headers >= 0) {
next acontrol if (/^#/);
next acontrol if (/^[ ]*$/);
- s/^xfail-//;
+ s/^xfail(\[([^\]]*)\])?-//;
s/^optional-//;
if (/^element *({([^}]*)}|([^ ]*)) *({([^}]*)}|([^ ]*)) *([A-Za-z0-9_]*) *(.*)/) {
push @allow, $7;