diff options
| author | makise-homura <akemi_homura@kurisa.ch> | 2018-03-21 16:45:22 +0300 |
|---|---|---|
| committer | makise-homura <akemi_homura@kurisa.ch> | 2018-03-21 16:45:22 +0300 |
| commit | 86fa9b133d94d6d714c7d2e2c81651f9ff9bc87f (patch) | |
| tree | 4a74c02642c987a1ff3b2030fe55b34d514687af | |
| parent | 43be74cf81b2dcb51c46d1ef44d649286d1d703e (diff) | |
| download | meson-86fa9b133d94d6d714c7d2e2c81651f9ff9bc87f.tar.gz | |
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.
| -rwxr-xr-x | run_unittests.py | 2 | ||||
| -rw-r--r-- | test cases/unit/13 reconfigure/meson.build | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/run_unittests.py b/run_unittests.py index fd424bee7..b42937b67 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -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): diff --git a/test cases/unit/13 reconfigure/meson.build b/test cases/unit/13 reconfigure/meson.build index 102180e54..453644a02 100644 --- a/test cases/unit/13 reconfigure/meson.build +++ b/test cases/unit/13 reconfigure/meson.build @@ -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 |
