Skip to content
Myr

add test for install from source

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Peter Dave Hello · committed by Peter Dave Hello · parent e78dc51 · Browse files · 1 file+33 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+33 added−0 removed

  • tests:+33 added−0 removed

1 file+33 added−0 removed

added:test/installation/node/install from source with thread parameter+33 added
1#!/bin/sh23die () { echo $@ ; exit 1; }45. ../../../nvm.sh67NVM_TEST_VERSION=v0.10.4189# STAGE 1 #1011# Remove the stuff we're clobbering.12[ -e ../../../$NVM_TEST_VERSION ] && rm -R ../../../$NVM_TEST_VERSION1314# Install from source with 1 CPU thread parameter15nvm install -s -j 1 $NVM_TEST_VERSION || die "'nvm install -s $NVM_TEST_VERSION' failed"1617# Check18[ -d ../../../$NVM_TEST_VERSION ]19nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION || "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"20212223# STAGE 2 #2425# Remove the stuff we're clobbering.26[ -e ../../../$NVM_TEST_VERSION ] && rm -R ../../../$NVM_TEST_VERSION2728# Install from source with 2 CPU threads parameter29nvm install -s -j 2 $NVM_TEST_VERSION || die "'nvm install -s $NVM_TEST_VERSION' failed"3031# Check32[ -d ../../../$NVM_TEST_VERSION ]33nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION || "'nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION' failed"