diff --git a/tests/pkg/builtin_attr/test.sh b/tests/pkg/builtin_attr/test.sh index b1c0671e59ce..b80250a91498 100755 --- a/tests/pkg/builtin_attr/test.sh +++ b/tests/pkg/builtin_attr/test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build diff --git a/tests/pkg/deriving/test.sh b/tests/pkg/deriving/test.sh index b1c0671e59ce..b80250a91498 100755 --- a/tests/pkg/deriving/test.sh +++ b/tests/pkg/deriving/test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build diff --git a/tests/pkg/frontend/test.sh b/tests/pkg/frontend/test.sh index a149dc148b59..fae84b09828d 100755 --- a/tests/pkg/frontend/test.sh +++ b/tests/pkg/frontend/test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build # Check that we can compile a file which shares with the executable diff --git a/tests/pkg/misc/test.sh b/tests/pkg/misc/test.sh index b1c0671e59ce..b80250a91498 100755 --- a/tests/pkg/misc/test.sh +++ b/tests/pkg/misc/test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build diff --git a/tests/pkg/prv/test.sh b/tests/pkg/prv/test.sh index ca8fad47ea88..833dd11922a7 100755 --- a/tests/pkg/prv/test.sh +++ b/tests/pkg/prv/test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build 2>&1 | grep 'error: .*: field.*private' diff --git a/tests/pkg/test_extern/test.sh b/tests/pkg/test_extern/test.sh index 33b24a7bb833..8b4f9aed9814 100755 --- a/tests/pkg/test_extern/test.sh +++ b/tests/pkg/test_extern/test.sh @@ -8,7 +8,7 @@ # Ideally there would be a more principled testing framework # that took care of all this! -rm -rf .lake/build +rm -rf .lake # Function to process the output verify_output() { diff --git a/tests/pkg/user_attr/test.sh b/tests/pkg/user_attr/test.sh index b1c0671e59ce..b80250a91498 100755 --- a/tests/pkg/user_attr/test.sh +++ b/tests/pkg/user_attr/test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build diff --git a/tests/pkg/user_attr_app/test.sh b/tests/pkg/user_attr_app/test.sh index 06d869b00b53..a4c662231815 100755 --- a/tests/pkg/user_attr_app/test.sh +++ b/tests/pkg/user_attr_app/test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build && ./.lake/build/bin/user_attr diff --git a/tests/pkg/user_ext/test.sh b/tests/pkg/user_ext/test.sh index 6e13e2a7ac30..6e1b78738eb2 100755 --- a/tests/pkg/user_ext/test.sh +++ b/tests/pkg/user_ext/test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -rm -rf .lake/build +rm -rf .lake lake build -v 2>&1 | grep 'hello, test, world'