Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bench/build.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def test_base_builds_report_errors_and_distinguish_new_targets(self):
repo = Path(directory) / "repo"
repo.mkdir()
shutil.copytree(ROOT / "bench", repo / "bench", ignore=shutil.ignore_patterns("__pycache__"))
# The fixture measures nothing, and `just gh test` runs it in every gate, which must
# not wait behind another session's benchmark for the host lock.
(repo / "bench/lock.sh").write_text("bench_lock() { :; }\n")
(repo / ".cargo").mkdir()
(repo / ".cargo/config.toml").touch()
(repo / ".gitignore").write_text(".tmp/\ntarget/\n")
Expand Down