Skip to content

Commit

Permalink
[test] Use Path.absolute instead of Path.resolve
Browse files Browse the repository at this point in the history
... since the file could be symlinked and directory structure
might not be preserved.

Change-Id: If7f87d4b51c1812aa388f189c602a1a69c35ec95
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4694641
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#89004}
  • Loading branch information
victorgomes authored and V8 LUCI CQ committed Jul 18, 2023
1 parent 4fe718d commit 5a26dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testrunner/base_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class TestRunnerError(Exception):

class BaseTestRunner(object):
def __init__(self, basedir=None):
self.v8_root = Path(__file__).resolve().parent.parent.parent
self.v8_root = Path(__file__).absolute().parent.parent.parent
self.basedir = Path(basedir or self.v8_root)
self.outdir = None
self.build_config = None
Expand Down

0 comments on commit 5a26dd5

Please sign in to comment.