File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,18 @@ for test in $(ls -1 ./umf_test-*); do
79
79
SUP=" ${WORKSPACE} /test/supp/${test} .supp"
80
80
OPT_SUP=" "
81
81
[ -f ${SUP} ] && OPT_SUP=" --suppressions=${SUP} "
82
- HWLOC_CPUID_PATH=./cpuid valgrind $OPTION $OPT_SUP --gen-suppressions=all $test > $LOG 2>&1 || echo -n " (valgrind failed) "
82
+
83
+ # skip tests incompatible with valgrind
84
+ case $test in
85
+ ./umf_test-memspace_host_all)
86
+ FILTER=' --gtest_filter="-*allocsSpreadAcrossAllNumaNodes"'
87
+ ;;
88
+ ./umf_test-provider_os_memory_config)
89
+ FILTER=' --gtest_filter="-*protection_flag_none:*protection_flag_read:*providerConfigTestNumaMode*"'
90
+ ;;
91
+ esac
92
+
93
+ HWLOC_CPUID_PATH=./cpuid valgrind $OPTION $OPT_SUP --gen-suppressions=all $test $FILTER > $LOG 2>&1 || echo -n " (valgrind failed) "
83
94
# grep for "ERROR SUMMARY" with errors (there can be many lines with "ERROR SUMMARY")
84
95
grep -e " ERROR SUMMARY:" $LOG | grep -v -e " ERROR SUMMARY: 0 errors from 0 contexts" > $ERR || true
85
96
if [ $( cat $ERR | wc -l) -eq 0 ]; then
You can’t perform that action at this time.
0 commit comments