.gitlab-ci.yml: Ignore current X11 test failures

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2021-04-25 11:05:59 +02:00
parent 845c1f2a9a
commit 4d3dfb7bcb
2 changed files with 21 additions and 0 deletions

File diff suppressed because one or more lines are too long

View file

@ -612,6 +612,7 @@ expect_fail_due_to_env_var (cairo_test_context_t *ctx,
char *env_name;
const char *env;
cairo_bool_t result = FALSE;
char *to_replace;
/* Construct the name of the env var */
env_name = malloc (strlen (prefix) + strlen (target->name) + 1 + strlen (content) + 1);
@ -625,6 +626,14 @@ expect_fail_due_to_env_var (cairo_test_context_t *ctx,
strcat (env_name, "_");
strcat (env_name, content);
/* Deal with some invalid characters: Replace '-' and '&' with '_' */
while ((to_replace = strchr(env_name, '-')) != NULL) {
*to_replace = '_';
}
while ((to_replace = strchr(env_name, '&')) != NULL) {
*to_replace = '_';
}
env = getenv (env_name);
/* Look for the test name in the env var (comma separated) */