aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py5
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')