From b93f63809dc5a49901f2812ae557b6678392ef49 Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Wed, 20 Nov 2024 22:56:17 +0200 Subject: [PATCH] test(debug): package config debug --- .../unit-integration-test-runner/run-unit-tests.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/composite/unit-integration-test-runner/run-unit-tests.sh b/.github/workflows/composite/unit-integration-test-runner/run-unit-tests.sh index 0e7f23ce..febeed0d 100755 --- a/.github/workflows/composite/unit-integration-test-runner/run-unit-tests.sh +++ b/.github/workflows/composite/unit-integration-test-runner/run-unit-tests.sh @@ -4,7 +4,8 @@ set -e #ls /usr/include/openssl #ls /usr/lib/x86_64-linux-gnu/libssl.so -echo "~~~> $1" +find /usr/lib -name 'openssl.pc' -exec ls -l {} \; +echo "----" if [[ "$1" == "ubuntu" ]]; then if [ ! -f /usr/lib/x86_64-linux-gnu/pkgconfig/openssl.pc ]; then @@ -65,13 +66,11 @@ if [[ "$1" == "ubuntu" ]]; then export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH echo "----" - pkg-config --list-package-names + echo "CFLAGS 1: '$(pkg-config --print-errors --no-cache --debug --cflags openssl)'" + echo "LIBS 1: '$(pkg-config --print-errors --no-cache --debug --libs openssl)'" echo "----" - echo "CFLAGS 1: '$(pkg-config --print-errors --no-cache --debug --path --cflags openssl)'" - echo "LIBS 1: '$(pkg-config --print-errors --no-cache --debug --path --libs openssl)'" - echo "----" - echo "CFLAGS 2: '$(pkg-config --print-errors --no-cache --debug --path --internal-cflags --cflags openssl)'" - echo "LIBS 2: '$(pkg-config --print-errors --no-cache --debug --path --libs openssl)'" + echo "CFLAGS 2: '$(pkg-config --print-errors --no-cache --debug --internal-cflags --cflags openssl)'" + echo "LIBS 2: '$(pkg-config --print-errors --no-cache --debug --libs openssl)'" fi echo "::group::Run unit tests ('$1' $CC / $CXX)"