File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 22
22
- name : Install apt packages
23
23
run : |
24
24
sudo apt-get update
25
- sudo apt-get install -y cmake libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev valgrind
25
+ sudo apt-get install -y cmake hwloc libhwloc-dev libjemalloc-dev libnuma-dev libtbb-dev valgrind
26
26
27
27
- name : Configure CMake
28
28
run : >
Original file line number Diff line number Diff line change 49
49
50
50
FAIL=0
51
51
52
+ mkdir -p cpuid
53
+
54
+ echo " Gathering data for hwloc so it can be run under valgrind:"
55
+ hwloc-gather-cpuid ./cpuid
56
+
52
57
echo " Running: \" valgrind $OPTION \" for the following tests:"
53
58
54
59
for tf in $( ls -1 ./test/umf_test-* ) ; do
55
60
[ ! -x $tf ] && continue
56
61
echo -n " $tf "
57
62
LOG=${tf} .log
58
- valgrind $OPTION $tf > $LOG 2>&1 || echo -n " (valgrind failed) "
63
+ HWLOC_CPUID_PATH=./cpuid valgrind $OPTION $tf > $LOG 2>&1 || echo -n " (valgrind failed) "
59
64
if grep -q -e " ERROR SUMMARY: 0 errors from 0 contexts" $LOG ; then
60
65
echo " - OK"
61
66
rm $LOG
You can’t perform that action at this time.
0 commit comments