diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-09-06 15:51:20 -0400 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2023-09-12 17:31:32 +0530 |
| commit | 57178e8ae7f6fc7bc898e55fed1a18d32d25c2ce (patch) | |
| tree | 09dd90d827eb749ff873556ca697955c804d50da /unittests | |
| parent | bd3341f8085686863cb1160f2ab72e6fd6bf47c7 (diff) | |
| download | meson-57178e8ae7f6fc7bc898e55fed1a18d32d25c2ce.tar.gz | |
fix bug with openssl when cmake is missing
Fixes #12098
DependencyFactory was returning a lambda, but it has no log_tried() function
Diffstat (limited to 'unittests')
| -rw-r--r-- | unittests/platformagnostictests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/unittests/platformagnostictests.py b/unittests/platformagnostictests.py index 92c613d91..204a22ba5 100644 --- a/unittests/platformagnostictests.py +++ b/unittests/platformagnostictests.py @@ -271,3 +271,10 @@ class PlatformAgnosticTests(BasePlatformTests): builddir = os.path.join(srcdir, '_build') self.change_builddir(builddir) self.init(srcdir, override_envvars={'MESON_PACKAGE_CACHE_DIR': os.path.join(srcdir, 'cache_dir')}) + + def test_cmake_openssl_not_found_bug(self): + """Issue #12098""" + testdir = os.path.join(self.unit_test_dir, '117 openssl cmake bug') + self.meson_native_files.append(os.path.join(testdir, 'nativefile.ini')) + out = self.init(testdir, allow_fail=True) + self.assertNotIn('Unhandled python exception', out) |
