8000 Fix use of OPENSSL in SSL tests if command is not found · postgrespro/postgres@b64c8b0 · GitHub
[go: up one dir, main page]

Skip to content
  • Commit b64c8b0

    Browse files
    committed
    Fix use of OPENSSL in SSL tests if command is not found
    `openssl` is an optional dependency in the meson build as it may not be installed in an environment even if SSL libraries are around. The meson scripts assume that, but the SSL tests thought that it was a hard dependency, causing a meson installation to fail if `openssl` could not be found. Like similar tests that depend on external commands, and to be consistent with ./configure for the SSL tests, this commit makes the command existence optional in the tests. Author: Tristan Partin Discussion: https://postgr.es/m/CWSX6P5OUUM5.N7B74KQ06ZP6@neon.tech Backpatch-through: 16
    1 parent 1b2c6b7 commit b64c8b0

    File tree

    1 file changed

    +1
    -1
    lines changed

    1 file changed

    +1
    -1
    lines changed

    src/test/ssl/meson.build

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -7,7 +7,7 @@ tests += {
    77
    'tap': {
    88
    'env': {
    99
    'with_ssl': ssl_library,
    10-
    'OPENSSL': openssl.path(),
    10+
    'OPENSSL': openssl.found() ? openssl.path() : '',
    1111
    },
    1212
    'tests': [
    1313
    't/001_ssltests.pl',

    0 commit comments

    Comments
     (0)
    0