Skip to content
Myr

Merge pull request #386 from koenpunt/multi-shell-test

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

Add Makefile for multishell testing

authored by Jordan Harband · committed by Jordan Harband · parents ba1e2f1, def7ec5 · Browse files · 3 files+19 added−2 removed
This commit

State

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

Diff stats

3 files+19 added−2 removed

  • tests:+1 added−1 removed
  • other:+18 added−1 removed

3 files+19 added−2 removed

modified:test/fast/Running "nvm current" should display current nvm environment.+1 added-1 removed
1 unmodified line
23die () { echo $@ ; exit 1; }45. ../../nvm.sh6[ "$(nvm current)" = `node -v` ] || die "Failed to find current version"6[ "$(nvm current)" = "$(node -v)" ] || die "Failed to find current version"
modified:.travis.yml+3 added-1 removed
added:Makefile+15 added
1URCHIN=`which urchin`2SHELLS=sh bash dash ksh zsh34.PHONY: $(SHELLS) test56fast: $(SHELLS)78$(SHELLS):9 @printf '\n\033[0;34m%s\033[0m\n' "Running tests in $@"10 @$@ $(URCHIN) -f test/fast1112test: fast13 @$(URCHIN) -f test/slow 1415default: test