mirror of https://github.com/astral-sh/ruff
Fix default test executable in py-fuzzer (#21468)
Summary -- I was firing up the fuzzer tonight and hit an assertion error here. We now build with the `profiling` profile, so we need to use that executable too. This hasn't affected CI because we always set the `--test-executable`. Test Plan -- Ran the script again with the same arguments on this branch
This commit is contained in:
parent
efa2b5167f
commit
fb5b8c3653
|
|
@ -414,7 +414,7 @@ def parse_args() -> ResolvedCliArgs:
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
print(e.stderr)
|
print(e.stderr)
|
||||||
raise
|
raise
|
||||||
args.test_executable = Path("target", "release", executable)
|
args.test_executable = Path("target", "profiling", executable)
|
||||||
assert args.test_executable.is_file()
|
assert args.test_executable.is_file()
|
||||||
|
|
||||||
seed_arguments: list[range | int] = args.seeds
|
seed_arguments: list[range | int] = args.seeds
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue