test: use $LAKE everywhere
This commit is contained in:
parent
dfa959ba30
commit
abd617b9a5
12 changed files with 17 additions and 17 deletions
|
|
@ -1,4 +1,4 @@
|
|||
LAKE := ../build/bin/lake
|
||||
LAKE ?= ../build/bin/lake
|
||||
|
||||
all: check-lake test time-bootstrap check-bootstrap test-bootstrapped
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
set -ex
|
||||
|
||||
./build/bin/lake --version
|
||||
./build/bin/lake self-check
|
||||
${LAKE:-./build/bin/lake} --version
|
||||
${LAKE:-./build/bin/lake} self-check
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../../build/bin/lake build-bin
|
||||
${LAKE:-../../build/bin/lake} build-bin
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
cd foo
|
||||
echo "in directory 'foo'"
|
||||
../../../build/bin/lake build-bin
|
||||
${LAKE:-../../../build/bin/lake} build-bin
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../../build/bin/lake build-bin
|
||||
${LAKE:-../../build/bin/lake} build-bin
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../../build/bin/lake build-bin
|
||||
${LAKE:-../../build/bin/lake} build-bin
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../../build/bin/lake build-bin
|
||||
${LAKE:-../../build/bin/lake} build-bin
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
./clean.sh
|
||||
../bootstrap/build/bin/lake build-bin
|
||||
${LAKE:-../bootstrap/build/bin/lake} build-bin
|
||||
./build/bin/hello
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../../build/bin/lake build-bin
|
||||
${LAKE:-../../build/bin/lake} build-bin
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ set -ex
|
|||
|
||||
# Test `new`
|
||||
|
||||
../../build/bin/lake new helloNew
|
||||
${LAKE:-../../build/bin/lake} new helloNew
|
||||
|
||||
cd helloNew
|
||||
test -f lean-toolchain
|
||||
../../../build/bin/lake build-bin
|
||||
${LAKE:-../../../build/bin/lake} build-bin
|
||||
./build/bin/helloNew
|
||||
cd ..
|
||||
|
||||
|
|
@ -17,10 +17,10 @@ cd ..
|
|||
mkdir helloInit
|
||||
|
||||
cd helloInit
|
||||
../../../build/bin/lake init helloInit
|
||||
../../../build/bin/lake build-bin
|
||||
${LAKE:-../../../build/bin/lake} init helloInit
|
||||
${LAKE:-../../../build/bin/lake} build-bin
|
||||
./build/bin/helloInit
|
||||
|
||||
# Test `init` on existing package (should error)
|
||||
|
||||
../../../build/bin/lake init helloInit && exit 1 || true
|
||||
${LAKE:-../../../build/bin/lake} init helloInit && exit 1 || true
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../../build/bin/lake build-bin -- --foo
|
||||
${LAKE:-../../build/bin/lake} build-bin -- --foo
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../../build/bin/lake build-bin
|
||||
${LAKE:-../../build/bin/lake} build-bin
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue