gitlab-ci: Add --with-valid to medium config

Building --with-valid --without-regexps enables some rarely tested code.

There's an additional test failure in runxmlconf without regexps.
This commit is contained in:
Nick Wellnhofer 2024-12-27 14:58:30 +01:00
parent cd220b93d8
commit ab62fc27e8
2 changed files with 6 additions and 2 deletions

View File

@ -30,7 +30,7 @@ gcc:medium:
extends: .test
variables:
BASE_CONFIG: "--with-minimum"
CONFIG: "--with-threads --with-tree --with-xpath --with-output --with-html --with-iso8859x"
CONFIG: "--with-threads --with-tree --with-xpath --with-output --with-html --with-iso8859x --with-valid"
CFLAGS: "-O2"
gcc:legacy:

View File

@ -29,7 +29,11 @@
static FILE *logfile = NULL;
static int verbose = 0;
#define NB_EXPECTED_ERRORS 15
#ifdef LIBXML_REGEXP_ENABLED
#define NB_EXPECTED_ERRORS 15
#else
#define NB_EXPECTED_ERRORS 16
#endif
const char *skipped_tests[] = {