aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-04-04 15:48:54 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-04-05 15:08:17 -0700
commit91b2475e30d7659dad24eb35b47e4d098c716792 (patch)
treebbc5ec4d59ece1fcc44e658832b8b36351f7c072 /run_unittests.py
parent377b652b93c8961bdcb266ba4254a15b28f2c5be (diff)
downloadmeson-91b2475e30d7659dad24eb35b47e4d098c716792.zip
meson-91b2475e30d7659dad24eb35b47e4d098c716792.tar.gz
meson-91b2475e30d7659dad24eb35b47e4d098c716792.tar.bz2
dependencies/pkg-config: Add support for different cross_flags
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 34307f6..97e5ef4 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5169,6 +5169,11 @@ class LinuxCrossMingwTests(BasePlatformTests):
# Must run in-process or we'll get a generic CalledProcessError
self.run_tests(inprocess=True)
+ @skipIfNoPkgconfig
+ def test_cross_pkg_config_option(self):
+ testdir = os.path.join(self.unit_test_dir, '55 pkg_config_path option')
+ self.init(testdir, extra_args=['-Dcross_pkg_config_path=' + os.path.join(testdir, 'extra_path')])
+
class PythonTests(BasePlatformTests):
'''