Skip to content

Commit bf773ca

Browse files
committed
Run NUMA tests under valgrind
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 56616eb commit bf773ca

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/reusable_multi_numa.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
BUILD_DIR : "${{github.workspace}}/build"
1111
COVERAGE_DIR : "${{github.workspace}}/coverage"
1212
COVERAGE_NAME : "exports-coverage-multinuma"
13+
NUMA_TESTS: "./test/umf_test-memspace_numa ./test/umf_test-provider_os_memory_multiple_numa_nodes"
1314

1415
jobs:
1516
multi_numa:
@@ -68,6 +69,12 @@ jobs:
6869
./test/umf_test-provider_os_memory_multiple_numa_nodes \
6970
--gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave"
7071
72+
- name: Run NUMA tests under valgrind
73+
run: |
74+
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} memcheck "${{env.NUMA_TESTS}}"
75+
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} drd "${{env.NUMA_TESTS}}"
76+
${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} helgrind "${{env.NUMA_TESTS}}"
77+
7178
- name: Check coverage
7279
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'ubuntu-22.04' }}
7380
working-directory: ${{env.BUILD_DIR}}

test/test_valgrind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ for test in $TESTS; do
125125
FILTER='--gtest_filter="-*highestCapacityVerify*"'
126126
;;
127127
./test/umf_test-provider_os_memory_multiple_numa_nodes)
128-
FILTER='--gtest_filter="-testNuma.checkModeInterleave*:testNumaNodesAllocations/testNumaOnEachNode.checkNumaNodesAllocations*:testNumaNodesAllocations/testNumaOnEachNode.checkModePreferred*:testNumaNodesAllocations/testNumaOnEachNode.checkModeInterleaveSingleNode*:testNumaNodesAllocationsAllCpus/testNumaOnEachCpu.checkModePreferredEmptyNodeset*:testNumaNodesAllocationsAllCpus/testNumaOnEachCpu.checkModeLocal*"'
128+
# FILTER='--gtest_filter="-testNuma.checkModeInterleave*:testNumaNodesAllocations/testNumaOnEachNode.checkNumaNodesAllocations*:testNumaNodesAllocations/testNumaOnEachNode.checkModePreferred*:testNumaNodesAllocations/testNumaOnEachNode.checkModeInterleaveSingleNode*:testNumaNodesAllocationsAllCpus/testNumaOnEachCpu.checkModePreferredEmptyNodeset*:testNumaNodesAllocationsAllCpus/testNumaOnEachCpu.checkModeLocal*"'
129129
;;
130130
./test/umf_test-memspace_highest_bandwidth)
131131
FILTER='--gtest_filter="-*allocLocalMt*"'

0 commit comments

Comments
 (0)