diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-12 00:16:34 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-12 00:16:34 +0530 |
commit | d4dd25c354be89d62ac616a8278fa4df3547669e (patch) | |
tree | 2530d28ee7ce16be8e05d94745459926f53e53f4 | |
parent | e904c92b2417e7ad0279b0c6f0bdeebaf8f842e3 (diff) | |
download | meson-unbreak-profile-self.tar.gz |
unit tests: Ensure that --profile-self keeps workingunbreak-profile-self
-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 642a05f2e..c5ad49934 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') |