diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-12 00:16:34 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-02-12 04:00:10 +0530 |
commit | a41a902f5e32d60ba3eb46979737274ca771fb6e (patch) | |
tree | 2530d28ee7ce16be8e05d94745459926f53e53f4 | |
parent | 66bf339e330deccb61309947f95b88b807e24da2 (diff) | |
download | meson-a41a902f5e32d60ba3eb46979737274ca771fb6e.zip meson-a41a902f5e32d60ba3eb46979737274ca771fb6e.tar.gz meson-a41a902f5e32d60ba3eb46979737274ca771fb6e.tar.bz2 |
unit tests: Ensure that --profile-self keeps working
-rwxr-xr-x | run_unittests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py index 642a05f..c5ad499 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3418,8 +3418,9 @@ recommended as it is not supported on some platforms''') def test_command_line(self): testdir = os.path.join(self.unit_test_dir, '34 command line') - # Verify default values when passing no args - self.init(testdir) + # Verify default values when passing no args that affect the + # configuration, and as a bonus, test that --profile-self works. + self.init(testdir, extra_args=['--profile-self']) obj = mesonbuild.coredata.load(self.builddir) self.assertEqual(obj.builtins['default_library'].value, 'static') self.assertEqual(obj.builtins['warning_level'].value, '1') |