Skip to content

Commit

Permalink
Tell tests (e.g. particularly canbench) to "show their true colors". …
Browse files Browse the repository at this point in the history
…What this literally does is sets the CLICOLOR_FORCE environment variable to true. This is a convention that different programs follow. In particular, the colored Rust library uses it (and canbench uses colored).
  • Loading branch information
daniel-wong-dfinity-org committed Feb 18, 2025
1 parent 3bc41ef commit 87e566d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bazel/conf/.bazelrc.build
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,8 @@ common --remote_download_all
# This option (in conjunction with remote cache issues) creates build failures
# https://github.com/bazelbuild/bazel/issues/22387
common --noexperimental_inmemory_dotd_files

# This is particularly helpful for canbench, but other tests that follow this
# convention would also benefit. If the test does not support this, this "almost
# certainly" does no harm.
test --test_env=CLICOLOR_FORCE=true

0 comments on commit 87e566d

Please sign in to comment.