Skip to content

Commit 9f6f8ba

Browse files
committed
Run DAX tests under valgrind
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 083252a commit 9f6f8ba

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/reusable_dax.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ env:
3131
INSTL_DIR : "${{github.workspace}}/../install-dir"
3232
COVERAGE_DIR : "${{github.workspace}}/coverage"
3333
COVERAGE_NAME : "exports-coverage-dax"
34+
DAX_TESTS: "./test/umf_test-provider_file_memory ./test/umf_test-provider_devdax_memory"
3435

3536
jobs:
3637
dax:
@@ -126,6 +127,12 @@ jobs:
126127
UMF_TESTS_FSDAX_PATH_2=${{env.UMF_TESTS_FSDAX_PATH_2}}
127128
ctest -C ${{matrix.build_type}} -V -R "file|fsdax"
128129
130+
- name: Run DAX tests under valgrind
131+
run: |
132+
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} memcheck "${{env.DAX_TESTS}}"
133+
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} drd "${{env.DAX_TESTS}}"
134+
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} helgrind "${{env.DAX_TESTS}}"
135+
129136
- name: Check coverage
130137
if: ${{ matrix.build_type == 'Debug' }}
131138
working-directory: ${{env.BUILD_DIR}}

0 commit comments

Comments
 (0)