Use BUILD_WORKSPACE_DIRECTORY as RESMOKE_ROOT

XMLWordPrintableJSON

    • DevProd Test Infrastructure
    • Fully Compatible
    • Correctness 2026-04-07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When run via `bazel run //buildscripts:resmoke`, use `BUILD_WORKSPACE_DIRECTORY` to identify the repo root, as the file path will be a symlink in Bazel runfiles .
      (Like `/home/ubuntu/.cache/bazel/_bazel_ubuntu/438e730df43f16e18dd90600e6cbe8fb/execroot/_main/bazel-out/aarch64-fastbuild/bin/buildscripts/resmoke.runfiles/_main/buildscripts/resmoke.py`)

            Assignee:
            Sean Lyons
            Reporter:
            Sean Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: