Commit de4463bb authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[foozzie] Fix fuzzer arguments and test case

NOTRY=true

Bug: chromium:777285
Change-Id: I89a0da2d524a84efdcdcb3df45bef11703340cde
Reviewed-on: https://chromium-review.googlesource.com/735152Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48880}
parent d7784c65
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
# Compared x64,ignition with x64,ignition_turbo # Compared x64,ignition with x64,ignition_turbo
# #
# Flags of x64,ignition: # Flags of x64,ignition:
--abort_on_stack_or_string_length_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit --es-staging --random-seed 12345 --turbo-filter=~ --noopt --abort_on_stack_or_string_length_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit --es-staging --random-seed 12345 --turbo-filter=~ --noopt --suppress-asm-messages
# Flags of x64,ignition_turbo: # Flags of x64,ignition_turbo:
--abort_on_stack_or_string_length_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit --es-staging --random-seed 12345 --abort_on_stack_or_string_length_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit --es-staging --random-seed 12345 --suppress-asm-messages
# #
# Difference: # Difference:
- unknown - unknown
......
{"v8_current_cpu": "x64"} {"v8_target_cpu": "x64"}
...@@ -173,9 +173,9 @@ def parse_args(): ...@@ -173,9 +173,9 @@ def parse_args():
options.second_arch = infer_arch(options.second_d8) options.second_arch = infer_arch(options.second_d8)
# Ensure we make a sane comparison. # Ensure we make a sane comparison.
assert (options.first_arch != options.second_arch or if (options.first_arch == options.second_arch and
options.first_config != options.second_config), ( options.first_config == options.second_config):
'Need either arch or config difference.') parser.error('Need either arch or config difference.')
assert options.first_arch in SUPPORTED_ARCHS assert options.first_arch in SUPPORTED_ARCHS
assert options.second_arch in SUPPORTED_ARCHS assert options.second_arch in SUPPORTED_ARCHS
assert options.first_config in CONFIGS assert options.first_config in CONFIGS
...@@ -260,7 +260,7 @@ def main(): ...@@ -260,7 +260,7 @@ def main():
args = [sys.executable] + args args = [sys.executable] + args
return v8_commands.Execute( return v8_commands.Execute(
args, args,
cwd=os.path.dirname(options.testcase), cwd=os.path.dirname(os.path.abspath(options.testcase)),
timeout=TIMEOUT, timeout=TIMEOUT,
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment