Don't show a blank error when no `error_message` was passed as argument.pull/9640/head
parent
858b114d5c
commit
007c4659c2
4 changed files with 13 additions and 1 deletions
@ -0,0 +1,2 @@ |
||||
project('no fallback', 'c') |
||||
foo = get_option('reqfeature').require(false) |
@ -0,0 +1 @@ |
||||
option('reqfeature', type : 'feature', value : 'enabled', description : 'A required feature') |
@ -0,0 +1,8 @@ |
||||
{ |
||||
"stdout": [ |
||||
{ |
||||
"match": "re", |
||||
"line": ".*/meson\\.build:2:0: ERROR: Feature reqfeature cannot be enabled" |
||||
} |
||||
] |
||||
} |
Loading…
Reference in new issue