Skip to content

Commit

Permalink
Merge pull request ceph#4273 from dachary/wip-docker-ccache
Browse files Browse the repository at this point in the history
tests: docker-test must bind mount .ccache

Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Apr 7, 2015
2 parents 780576b + 123230c commit 1c381b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/docker-test-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,8 @@ function run_in_docker() {
local image=$(get_image_name $os_type $os_version)
local upstream=$(get_upstream)
local ccache
if test -d $HOME/.ccache ; then
ccache="--volume $HOME/.ccache:$HOME/.ccache"
fi
mkdir -p $HOME/.ccache
ccache="--volume $HOME/.ccache:$HOME/.ccache"
if $dev ; then
dev="--volume /dev:/dev"
else
Expand Down

0 comments on commit 1c381b3

Please sign in to comment.