Skip to content

Commit b7de6c5

Browse files
Merge pull request #890 from ldorau/Do_not_run_tests_under_proxy_lib_if_libumf_is_not_a_shared_lib
Do not run tests under proxy lib if libumf is not a shared lib
2 parents 1e8a44a + 96532dc commit b7de6c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/reusable_dax.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ jobs:
109109
# TODO: enable the provider_devdax_memory_ipc test when the IPC tests with the proxy library are fixed
110110
# see the issue: https://github.com/oneapi-src/unified-memory-framework/issues/864
111111
- name: Run the DEVDAX tests with the proxy library
112+
# proxy library is built only if libumf is a shared library
113+
if: ${{ matrix.shared_library == 'ON' }}
112114
working-directory: ${{env.BUILD_DIR}}
113115
run: >
114116
LD_PRELOAD=./lib/libumf_proxy.so
@@ -119,6 +121,8 @@ jobs:
119121
# TODO: enable the provider_file_memory_ipc test when the IPC tests with the proxy library are fixed
120122
# see the issue: https://github.com/oneapi-src/unified-memory-framework/issues/864
121123
- name: Run the FSDAX tests with the proxy library
124+
# proxy library is built only if libumf is a shared library
125+
if: ${{ matrix.shared_library == 'ON' }}
122126
working-directory: ${{env.BUILD_DIR}}
123127
run: >
124128
LD_PRELOAD=./lib/libumf_proxy.so

0 commit comments

Comments
 (0)