From 91cba6fcb9c721c6b88d0302677f8f6fda120903 Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Wed, 20 Nov 2024 22:44:24 +0200 Subject: [PATCH] test(debug): package config debug --- .../unit-integration-test-runner/run-unit-tests.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 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 9cd3181e..be374bd3 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 @@ -64,8 +64,16 @@ if [[ "$1" == "ubuntu" ]]; then fi export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH - echo "CFLAGS: '$(pkg-config --debug --static --cflags openssl)'" - echo "LIBS: '$(pkg-config --debug --static --libs openssl)'" + echo "----" + pkg-config list-package-names + echo "----" + pkg-config --exists 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)'" fi echo "::group::Run unit tests ('$1' $CC / $CXX)"