tests: Require at least nunit 2.6

This commit is contained in:
Thibault Saunier 2019-03-04 09:38:47 -03:00 committed by Thibault Saunier
parent 754c2e92f3
commit 4a4e7d10c1

View file

@ -12,7 +12,7 @@ if nunit_console.found()
)
nunit_dep = dependency('mono-nunit', required: false)
nunit_dep = dependency('mono-nunit', required: false, version: ['>=2.6', '< 2.7'])
if not nunit_dep.found()
if get_nunit_res.returncode() != 0
message('Failed to get NUnit: ' + get_nunit_res.stderr())