bazel test -c opt --test_output=errors //:fmt_bzl_test //:fmt_tcl_test //:lint_bzl_test //:lint_tcl_test
INFO: Invocation ID: 0863b6e3-ba12-4a53-a942-f74c9269678d
INFO: Analyzed 4 targets (0 packages loaded, 0 targets configured).
INFO: Found 4 test targets...
INFO: Elapsed time: 0.955s, Critical Path: 0.02s
INFO: 1 process: 4 action cache hit, 1 internal.
INFO: Build completed, 4 tests FAILED, 1 total action
FAILED: //:fmt_bzl_test (see /home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/fmt_bzl_test/test.log)
INFO: From Testing //:fmt_bzl_test
==================== Test output for //:fmt_bzl_test:
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/bin/fmt_bzl_test.runfiles/_main/fmt_bzl_test: line 17: git: command not found
================================================================================
FAILED: //:fmt_tcl_test (see /home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/fmt_tcl_test/test.log)
INFO: From Testing //:fmt_tcl_test
==================== Test output for //:fmt_tcl_test:
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/bin/fmt_tcl_test.runfiles/_main/fmt_tcl_test: line 10: git: command not found
usage: tclfmt [-h] [--version] [--in-place | --check] [-d] [-c <path>]
[--partial] [--exclude "path1, path2, ..."]
[--extend-exclude "path1, path2, ..."]
[--extensions "tcl, xdc, ..."] [--commands <path>]
[--indent <indent>] [--max-blank-lines <max_blank_lines>]
[--indent-namespace-eval | --no-indent-namespace-eval]
[--spaces-in-braces | --no-spaces-in-braces]
source [source ...]
tclfmt: error: the following arguments are required: source
================================================================================
FAILED: //:lint_bzl_test (see /home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/lint_bzl_test/test.log)
INFO: From Testing //:lint_bzl_test
==================== Test output for //:lint_bzl_test:
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/bin/lint_bzl_test.runfiles/_main/lint_bzl_test: line 17: git: command not found
================================================================================
FAILED: //:lint_tcl_test (see /home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/lint_tcl_test/test.log)
INFO: From Testing //:lint_tcl_test
==================== Test output for //:lint_tcl_test:
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/bin/lint_tcl_test.runfiles/_main/lint_tcl_test: line 10: git: command not found
usage: tclint [-h] [--version] [-d] [-c <path>] [--ignore "rule1, rule2, ..."]
[--extend-ignore "rule1, rule2, ..."]
[--exclude "path1, path2, ..."]
[--extend-exclude "path1, path2, ..."]
[--extensions "tcl, xdc, ..."] [--commands <path>]
[--style-line-length <line_length>]
source [source ...]
tclint: error: the following arguments are required: source
================================================================================
//:fmt_bzl_test (cached) FAILED in 0.1s
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/fmt_bzl_test/test.log
//:fmt_tcl_test (cached) FAILED in 0.7s
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/fmt_tcl_test/test.log
//:lint_bzl_test (cached) FAILED in 0.1s
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/lint_bzl_test/test.log
//:lint_tcl_test (cached) FAILED in 0.6s
/home/hzeller/.cache/bazel/_bazel_hzeller/515c003e8af37d4c8564c2613da4cc17/execroot/_main/bazel-out/k8-opt/testlogs/lint_tcl_test/test.log
Now that soon
...to test should work I noticed that the formatting tests don't work yet: they error out as they seem to callgit.@oharboe since you just added that in another context, maybe it is quick to do here as well