Skip to content

Commit 337a8ce

Browse files
committed
- make WGW logging off by default, togglable via WGW_LOGGING=1 env var.
- enable WGW_LOGGING=1 explicitly in all CI workflows so test logs remain visible.
1 parent b17b7b5 commit 337a8ce

22 files changed

Lines changed: 26 additions & 7 deletions

.github/workflows/chrony.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,5 @@ jobs:
103103
working-directory: chrony
104104
run: |
105105
export LD_LIBRARY_PATH=/opt/gnutls/lib:/opt/wolfssl/lib:/opt/wolfssl-gnutls-wrapper/lib
106+
export WGW_LOGGING=1
106107
make check

.github/workflows/curl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ jobs:
100100
working-directory: curl
101101
run: |
102102
export USER=root
103-
WGW_LOGGING=0 make -j $(nproc) test-ci
103+
make -j $(nproc) test-ci

.github/workflows/dirmngr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,6 @@ jobs:
142142
-Wl,-rpath,$PREFIX_LOCAL/lib -Wl,-rpath,$PREFIX_GNUTLS/lib"
143143
144144
export LD_LIBRARY_PATH=/usr/local/lib:/opt/gnutls/lib
145+
export WGW_LOGGING=1
145146
cd gnupg/dirmngr
146147
make check

.github/workflows/fwupd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,6 @@ jobs:
125125
- name: Test fwupd
126126
working-directory: fwupd
127127
run: |
128+
export WGW_LOGGING=1
128129
meson test -C builddir --print-errorlogs
129130

.github/workflows/glib-networking.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
# Run all tests, 'meson test', when they are working
112112
# mock PKCS#11 is failing with GnuTLS
113113
run: |
114+
export WGW_LOGGING=1
114115
cd build
115116
if [ ${{ matrix.glib-networking_ref }} = '2.74.0' ]; then
116117
meson test gnome file-database-gnutls environment certificate-gnutls

.github/workflows/gst-libav1.0.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,5 @@ jobs:
180180
export LDFLAGS="-L/opt/gnutls/lib -L/opt/ffmpeg-gnutls/lib -L/opt/gstreamer/lib \
181181
-Wl,-rpath,/opt/gnutls/lib -Wl,-rpath=/opt/ffmpeg-gnutls/lib -Wl,-rpath,/opt/gstreamer/lib $LDFLAGS"
182182
export LD_LIBRARY_PATH="/opt/gnutls/lib:/opt/ffmpeg-gnutls/lib:/opt/gstreamer/lib:$LD_LIBRARY_PATH"
183+
export WGW_LOGGING=1
183184
meson test -C build --print-errorlogs

.github/workflows/libcamera.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
- name: Run unit-tests that don’t need hardware
9696
working-directory: libcamera/build
9797
run: |
98+
export WGW_LOGGING=1
9899
if [ "${{ matrix.libcamera_ref }}" = "v0.0.3" ]; then
99100
meson test -v \
100101
'control_info' 'control_value' \

.github/workflows/libcups.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
146146
# Run tests WITH provider
147147
echo "=== RUNNING TESTS WITH PROVIDER ==="
148-
export WGW_LOGGING=0
148+
149149
150150
> /tmp/with_provider.log
151151

.github/workflows/libjcat.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,5 @@ jobs:
9999
working-directory: libjcat
100100
run: |
101101
. ~/.venvs/meson-056/bin/activate
102+
export WGW_LOGGING=1
102103
meson test -C _build-custom --verbose

.github/workflows/libnice.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,5 @@ jobs:
9595
export CPPFLAGS="-I/opt/gnutls/include ${CPPFLAGS}"
9696
export LDFLAGS="-L/opt/gnutls/lib -Wl,-rpath,/opt/gnutls/lib ${LDFLAGS}"
9797
export LD_LIBRARY_PATH="/opt/gnutls/lib:${LD_LIBRARY_PATH}"
98+
export WGW_LOGGING=1
9899
ninja -C build-gnutls test

0 commit comments

Comments
 (0)