aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-11-30 12:10:40 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-01-04 12:15:41 -0800
commitb25a423a645491e83112929f95c1bd9312458a9a (patch)
tree6f37b0f1e3bdc68d9d0d6e3c0208d4ee2735d75f /run_unittests.py
parent983380d5ce9a33f2528202cc3d112c4109bf2c84 (diff)
downloadmeson-b25a423a645491e83112929f95c1bd9312458a9a.zip
meson-b25a423a645491e83112929f95c1bd9312458a9a.tar.gz
meson-b25a423a645491e83112929f95c1bd9312458a9a.tar.bz2
use the OptionKey type for command line and machine files
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 44a98e5..83c1854 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -6904,7 +6904,7 @@ class LinuxlikeTests(BasePlatformTests):
self.assertTrue(os.path.exists(os.path.join(pkg_dir, 'librelativepath.pc')))
env = get_fake_env(testdir, self.builddir, self.prefix)
- env.coredata.set_options({'pkg_config_path': pkg_dir}, subproject='')
+ env.coredata.set_options({mesonbuild.coredata.OptionKey('pkg_config_path'): pkg_dir}, subproject='')
kwargs = {'required': True, 'silent': True}
relative_path_dep = PkgConfigDependency('librelativepath', env, kwargs)
self.assertTrue(relative_path_dep.found())