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.
pull/3115/head
makise-homura 7 years ago
parent 43be74cf81
commit 86fa9b133d
  1. 2
      run_unittests.py
  2. 4
      test cases/unit/13 reconfigure/meson.build

@ -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):

@ -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

Loading…
Cancel
Save