Skip to content

Commit cdac41d

Browse files
committed
fix(tests): Suppress the Dr. Memory error caused by the cwk_path_normalize
1 parent 4aa5172 commit cdac41d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/memcheck.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ for filepath in $(find $DIR -maxdepth 1 -name '*.kaos'); do
1515
if [[ "$OSTYPE" == "linux"* ]]; then
1616
valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=20 --track-fds=yes --track-origins=yes --error-exitcode=1 chaos $DIR/$filename || exit 1
1717
elif [[ "$OSTYPE" == "darwin"* ]]; then
18-
/tmp/DrMemory/bin64/drmemory -exit_code_if_errors 1 -- chaos $DIR/$filename || exit 1
18+
/tmp/DrMemory/bin64/drmemory -exit_code_if_errors 1 -suppress tests/shell/suppress.mac.txt -- chaos $DIR/$filename || exit 1
1919
fi
2020
done
2121

tests/shell/suppress.mac.txt

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ UNINITIALIZED READ
22
system call stat64
33
libsystem_c.dylib!__getcwd
44
libsystem_c.dylib!__private_getcwd
5+
6+
INVALID HEAP ARGUMENT
7+
dyld!*

0 commit comments

Comments
 (0)