From ab9da2ed0ed7c135872d906e92131588db34b782 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 6 Nov 2015 12:28:42 +0000 Subject: =?UTF-8?q?Fix=20run-tests=20to=20run=20from=20=C5=95oot=20of=20so?= =?UTF-8?q?urce=20tree?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yarns/run-tests | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'yarns') diff --git a/yarns/run-tests b/yarns/run-tests index 4ef337b..fe6b021 100755 --- a/yarns/run-tests +++ b/yarns/run-tests @@ -18,5 +18,12 @@ set -eu -cd "$(dirname "$0")" -yarn -s shell.lib *.yarn "$@" +die() +{ + echo "$@" 1>&2 + exit 1 +} + +[ -e bin/vmdebootstrap ] || + die "You need to run this at root of source tree" +yarn -s yarns/shell.lib yarns/*.yarn "$@" -- cgit v1.2.1