Changing run_tests to simplify the ruby build.

pull/1589/head
Nicolas "Pixel" Noble 10 years ago
parent 2e4b735f61
commit cbd9c8bf9b
  1. 13
      tools/run_tests/build_ruby.sh
  2. 2
      tools/run_tests/run_tests.py

@ -31,17 +31,10 @@
set -ex
CONFIG=${CONFIG:-opt}
export CONFIG=${CONFIG:-opt}
# change to grpc repo root
cd $(dirname $0)/../..
# tells npm install to look for files in that directory
export GRPC_ROOT=`pwd`
# tells npm install the subdirectory with library files
export GRPC_LIB_SUBDIR=libs/$CONFIG
cd src/ruby
# change to grpc's ruby directory
cd $(dirname $0)/../../src/ruby
bundle install
rake compile:grpc

@ -214,7 +214,7 @@ class RubyLanguage(object):
return [config.job_spec(['tools/run_tests/run_ruby.sh'], None)]
def make_targets(self):
return ['static_c']
return ['run_dep_checks']
def build_steps(self):
return [['tools/run_tests/build_ruby.sh']]

Loading…
Cancel
Save