diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25878a89..67d30d8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,7 +157,7 @@ jobs: - name: Test working-directory: ${{runner.workspace}}/build shell: bash - run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -VV -C $BUILD_TYPE + run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -V -C $BUILD_TYPE build-macOS-sanitize: runs-on: macOS-latest diff --git a/backend/tests/test_common.c b/backend/tests/test_common.c index 9f964483..2119bf21 100644 --- a/backend/tests/test_common.c +++ b/backend/tests/test_common.c @@ -1063,7 +1063,7 @@ static void test_rt_cpy_seg(const testCtx *const p_ctx) { const int data_size = ARRAY_SIZE(data); int i, ret; - struct zint_symbol s_symbol; + struct zint_symbol s_symbol = {0}; struct zint_symbol *symbol = &s_symbol; int expected_length; @@ -1149,7 +1149,7 @@ static void test_rt_cpy(const testCtx *const p_ctx) { const int data_size = ARRAY_SIZE(data); int i, length, ret; - struct zint_symbol s_symbol; + struct zint_symbol s_symbol = {0}; struct zint_symbol *symbol = &s_symbol; int expected_length; @@ -1221,7 +1221,7 @@ static void test_rt_printf_256(const testCtx *const p_ctx) { const int data_size = ARRAY_SIZE(data); int i, ret; - struct zint_symbol s_symbol; + struct zint_symbol s_symbol = {0}; struct zint_symbol *symbol = &s_symbol; int expected_length;