commit | e477b84c92c7655d1dc11fa1e687de7b60836927 | [log] [tgz] |
---|---|---|
author | Jan Tattermusch <jtattermusch@google.com> | Sat Feb 06 22:19:01 2016 -0800 |
committer | Jan Tattermusch <jtattermusch@google.com> | Sat Feb 06 22:19:01 2016 -0800 |
tree | 8896ab97486955a4ddf6bdc1140670c7316f01f2 | |
parent | d2ae3c02593b4fca82bf64413f705142778fc338 [diff] [blame] |
make node tests pass on macos
diff --git a/tools/run_tests/run_node.sh b/tools/run_tests/run_node.sh index f93c9c3..40f61d7 100755 --- a/tools/run_tests/run_node.sh +++ b/tools/run_tests/run_node.sh
@@ -28,8 +28,12 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +NODE_VERSION=$1 +source ~/.nvm/nvm.sh set -ex +nvm use $NODE_VERSION + CONFIG=${CONFIG:-opt} # change to grpc repo root