fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
project('dub')
|
||||
|
||||
if not add_languages('d', required: false)
|
||||
error('MESON_SKIP_TEST test requires D compiler')
|
||||
endif
|
||||
|
||||
if meson.get_compiler('d').get_id() == 'dmd'
|
||||
if host_machine.system() == 'windows' or host_machine.system() == 'cygwin'
|
||||
error('MESON_SKIP_TEST Windows test environment lacks multiple D compilers.')
|
||||
endif
|
||||
endif
|
||||
|
||||
if not find_program('dub', required: false).found()
|
||||
error('MESON_SKIP_TEST test requires dub')
|
||||
endif
|
||||
|
||||
dependency('dubtestproject:test2', method: 'dub') # Compiler mismatch
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"matrix": {
|
||||
"options": {
|
||||
"warning_level": [
|
||||
{
|
||||
"val": "1",
|
||||
"skip_on_env": [
|
||||
"SINGLE_DUB_COMPILER"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/83 dub compiler/meson.build:17:0: ERROR: Dependency \"dubtestproject:test2\" not found"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user