Skip to content

Commit

Permalink
Merge pull request #524 from atsign-foundation/fix-memcheck-func-tests
Browse files Browse the repository at this point in the history
fix: mount atkeys in memcheck docker container
  • Loading branch information
XavierChanth authored Jan 22, 2025
2 parents e5127d7 + fbd09ee commit d3f1a3a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@ memcheck +ARGS='': build-test-memcheck
ctest -T memcheck --test-dir $PWD/build/test-memcheck {{ARGS}}

memcheck-docker +ARGS='':
docker run --rm --platform linux/amd64 --mount type=bind,src=$PWD,dst=/mnt/at_c atc-memcheck-docker:latest \
just memcheck {{ARGS}}
docker run --rm --platform linux/amd64 \
--mount type=bind,src=$PWD,dst=/mnt/at_c \
--mount type=bind,src=$HOME/.atsign/keys,dst=/root/.atsign/keys \
atc-memcheck-docker:latest \
just memcheck {{ARGS}}

# CONFIGURE COMMANDS

Expand Down

0 comments on commit d3f1a3a

Please sign in to comment.