Skip to content

Commit 9aa2938

Browse files
committed
fix(sanitizers-test): ensure dist directory exists before building memory test
1 parent df8df73 commit 9aa2938

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/sanitizers-test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ SANITIZER_LDFLAGS="$SANITIZER_FLAGS"
9090
# Build the sanitizer-instrumented memory test
9191
echo -e "\n${YELLOW}Building memory-test with $SANITIZER_NAME...${NC}"
9292

93+
# Ensure dist directory exists
94+
mkdir -p "$ROOT_DIR/dist"
95+
9396
$CC $SANITIZER_CFLAGS \
9497
-fvisibility=hidden \
9598
-I"$ROOT_DIR/vendor/" -I"$ROOT_DIR/" \

0 commit comments

Comments
 (0)