Skip to content

Commit f8f3536

Browse files
castlerphiwuu
authored andcommitted
Ensure bazel is treated as command not dir
In a previous change we introduced a top-level directory called `bazel`. Which lead to the CI failing with the statement "permission denied". After quite some debugging, we were able to identify that the problem is, that this make-statement, would now try to execute the directory `bazel` - where it has no permisson - and not the binary within PATH. With this change, it is ensured, that `bazel` is interpreted as command.
1 parent 0d801d0 commit f8f3536

File tree

1 file changed

+1
-1
lines changed
  • tests_integration/projects/basic

1 file changed

+1
-1
lines changed

tests_integration/projects/basic/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cppcode.lobster: foo.h foo.cpp
2727
--out="cppcode.lobster" --clang-tidy $(CLANG_TIDY)
2828

2929
gtests.lobster: foo.h foo.cpp test.cpp
30-
@bazel test foo_test --cxxopt='-std=c++14' --enable_workspace
30+
@command bazel test foo_test --cxxopt='-std=c++14' --enable_workspace
3131
@lobster-gtest $(LOBSTER_ROOT)/bazel-out/*/testlogs/$(THIS_TEST) \
3232
--out="gtests.lobster"
3333
sed -i s/$(THIS_TEST_ESCAPED)\\///g gtests.lobster

0 commit comments

Comments
 (0)