Skip to content

Commit f79cd93

Browse files
committed
release
1 parent 626be4d commit f79cd93

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

codeflash/languages/python/function_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def should_skip_sqlite_cleanup(self, testing_type: TestingMode, optimization_ite
127127
def parse_line_profile_test_results(
128128
self, line_profiler_output_file: Path | None
129129
) -> tuple[TestResults | dict, CoverageData | None]:
130-
if line_profiler_output_file is None or not line_profiler_output_file.exists():
130+
if line_profiler_output_file is None:
131131
return {"timings": {}, "unit": 0, "str_out": ""}, None
132132
return self.language_support.parse_line_profile_results(line_profiler_output_file), None
133133

tests/test_existing_tests_source_for.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ class MockTestConfig:
294294
"""Mocks codeflash.verification.verification_utils.TestConfig"""
295295

296296
tests_root: Path
297+
tests_project_rootdir: Path = Path(".")
297298

298299

299300
@contextlib.contextmanager

tests/test_languages/test_java/test_line_profiler_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def run_spin_timer_profiled(tmppath: Path, spin_durations_ns: list[int]) -> dict
484484
agent_arg = profiler.build_javaagent_arg(config_path)
485485

486486
result = subprocess.run(
487-
["javac", str(java_file)],
487+
["javac", "--release", "21", str(java_file)],
488488
capture_output=True,
489489
text=True,
490490
cwd=str(tmppath),

0 commit comments

Comments
 (0)