test_reconfigure switched to b_coverage from b_lto

This is due to some compilers (e.g. lcc) don't support LTO,
and therefore no b_lto meson option is available.
This commit is contained in:
makise-homura 2018-03-21 16:45:22 +03:00
parent 43be74cf81
commit 86fa9b133d
2 changed files with 3 additions and 3 deletions

View File

@ -2543,7 +2543,7 @@ endian = 'little'
def test_reconfigure(self):
testdir = os.path.join(self.unit_test_dir, '13 reconfigure')
self.init(testdir, ['-Db_lto=true'], default_args=False)
self.init(testdir, ['-Db_coverage=true'], default_args=False)
self.build('reconfigure')
def test_cross_file_system_paths(self):

View File

@ -1,5 +1,5 @@
project('reconfigure test', ['c'])
if get_option('b_lto') != true
error('b_lto not set')
if get_option('b_coverage') != true
error('b_coverage not set')
endif