Skip to content

Commit 5eeb719

Browse files
Fix more absl tempdir usage in Regalloc trace worker test
There are a couple more instances here where we need to call full_path on absl _Tempdir instances.
1 parent 9c079e2 commit 5eeb719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler_opt/es/regalloc_trace/regalloc_trace_worker_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def setUp(self):
6868

6969
def test_build_corpus_and_evaluate(self):
7070
corpus_dir = self.create_tempdir("corpus")
71-
corpus_modules = _setup_corpus(corpus_dir)
71+
corpus_modules = _setup_corpus(corpus_dir.full_path)
7272
fake_clang_binary = self.create_tempfile("fake_clang")
7373
fake_clang_invocations = self.create_tempfile("fake_clang_invocations")
7474
_create_test_binary(fake_clang_binary.full_path,
@@ -117,7 +117,7 @@ def test_build_corpus_and_evaluate(self):
117117

118118
def test_compile_corpus_and_evaluate_with_tflite(self):
119119
corpus_dir = self.create_tempdir("corpus")
120-
corpus_modules = _setup_corpus(corpus_dir)
120+
corpus_modules = _setup_corpus(corpus_dir.full_path)
121121
fake_clang_binary = self.create_tempfile("fake_clang")
122122
fake_clang_invocations = self.create_tempfile("fake_clang_invocations")
123123
_create_test_binary(fake_clang_binary.full_path,

0 commit comments

Comments
 (0)