Skip to content

Commit 90bee84

Browse files
committed
enable filtered tests in compat wflow
1 parent f89a467 commit 90bee84

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/reusable_compatibility.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,10 @@ jobs:
9999
100100
- name: Run "tag" UMF tests with latest UMF libs (warnings enabled)
101101
working-directory: ${{github.workspace}}/tag_version/build
102-
# Disable incompatible tests:
103-
# - GTEST_FILTER used to skip only single test cases
104-
# - ctest's exclude - disable test binary that rely on internal structures
105102
run: >
106103
UMF_LOG="level:warning;flush:debug;output:stderr;pid:no"
107104
LD_LIBRARY_PATH=${{github.workspace}}/latest_version/build/lib/
108-
GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*"
109-
ctest --verbose -E "umf-mempolicy"
105+
ctest --verbose
110106
111107
# Browse all folders in the examples directory, build them using the
112108
# latest UMF version, and run them, excluding those in the exclude list.
@@ -215,11 +211,8 @@ jobs:
215211

216212
- name: Run "tag" UMF tests with latest UMF libs (warnings enabled)
217213
working-directory: ${{github.workspace}}/tag_version/build
218-
# Disable incompatible tests:
219-
# - GTEST_FILTER used to skip only single test cases
220214
run: |
221215
$env:UMF_LOG="level:warning;flush:debug;output:stderr;pid:no"
222-
$env:GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*"
223216
cp ${{github.workspace}}/latest_version/build/bin/Debug/umf.dll ${{github.workspace}}/tag_version/build/bin/Debug/umf.dll
224217
ctest -C Debug --verbose
225218
@@ -345,29 +338,22 @@ jobs:
345338
working-directory: ${{github.workspace}}/tag_version/build
346339
run: >
347340
LD_LIBRARY_PATH=${{github.workspace}}/tag_version/build/lib/
348-
GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*"
349341
ctest --output-on-failure
350342
351343
- name: Run "tag" UMF tests with latest UMF libs (warnings enabled)
352344
working-directory: ${{github.workspace}}/tag_version/build
353-
# Disable incompatible tests:
354-
# - GTEST_FILTER used to skip only single test cases
355-
# - ctest's exclude - disable test binary that rely on internal structures
356-
# and once not implemented features may now be implemented.
357345
run: >
358346
UMF_LOG="level:warning;flush:debug;output:stderr;pid:no"
359347
LD_LIBRARY_PATH=${{github.workspace}}/latest_version/build/lib/
360-
GTEST_FILTER="-*umfIpcTest.GetPoolByOpenedHandle*"
361-
ctest --verbose -E "not_impl|umf-mempolicy"
348+
ctest --verbose
362349
363350
# Browse all folders in the examples directory, build them using the
364351
# latest UMF version, and run them, excluding those in the exclude list.
365-
# NOTE: exclude cuda examples as they require linking with static disjoint
366-
# pool library
352+
# NOTE: exclude either CUDA or Level Zero examples depending on the GPU
367353
- name: Build and run "tag" examples using the latest UMF libraries
368354
working-directory: ${{github.workspace}}/tag_version
369355
run: |
370-
EXAMPLES_EXCLUDE_LIST="cmake|common|hmat|cuda${{matrix.provider == 'LEVEL_ZERO' && '' || '|level_zero' }}"
356+
EXAMPLES_EXCLUDE_LIST="cmake|common|hmat|${{matrix.provider == 'LEVEL_ZERO' && 'cuda' || 'level_zero' }}"
371357
rm -rf build
372358
rm -rf include
373359
mkdir _examples

0 commit comments

Comments
 (0)