Skip to content
Snippets Groups Projects
Commit 488a5b40 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

temp directory doesnt work when tests run in parallel

parent 9b602e06
No related branches found
No related tags found
No related merge requests found
......@@ -68,21 +68,22 @@ elif [ "$platform" == "macos" ]; then
if [ "$dist_channel" == "homebrew" ]; then
which brew # TODO: for debug, can be removed later
brew list -l
rm -rf /tmp/homebrew-test
mkdir -p /tmp/homebrew-test
git clone https://github.com/Homebrew/homebrew.git /tmp/homebrew-test
cd /tmp/homebrew-test
dir=/tmp/homebrew-test-$language
rm -rf $dir
mkdir -p $dir
git clone https://github.com/Homebrew/homebrew.git $dir
cd $dir
# TODO: Uncomment these when the general structure of the script is verified
# PATH=/tmp/homebrew-test/bin:$PATH brew tap homebrew/dupes
# PATH=/tmp/homebrew-test/bin:$PATH brew install zlib
# PATH=/tmp/homebrew-test/bin:$PATH brew install openssl
# PATH=/tmp/homebrew-test/bin:$PATH brew tap grpc/grpc
# PATH=/tmp/homebrew-test/bin:$PATH brew install --without-python google-protobuf
# PATH=/tmp/homebrew-test/bin:$PATH brew install grpc
PATH=/tmp/homebrew-test/bin:$PATH brew list -l
# PATH=$dir/bin:$PATH brew tap homebrew/dupes
# PATH=$dir/bin:$PATH brew install zlib
# PATH=$dir/bin:$PATH brew install openssl
# PATH=$dir/bin:$PATH brew tap grpc/grpc
# PATH=$dir/bin:$PATH brew install --without-python google-protobuf
# PATH=$dir/bin:$PATH brew install grpc
PATH=$dir/bin:$PATH brew list -l
brew list -l
cd ~/
rm -rf /tmp/homebrew-test
rm -rf $dir
echo $PATH # TODO: for debug, can be removed later
brew list -l # TODO: for debug, can be removed later
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment