mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make run_tests.py suppressions flag fail with a clear error on unsupported platforms (flutter/engine#28235)
This commit is contained in:
parent
1ee6a40d4e
commit
a5adf663ce
@ -564,6 +564,7 @@ def main():
|
||||
assert os.path.exists(build_dir), 'Build variant directory %s does not exist!' % build_dir
|
||||
|
||||
if args.sanitizer_suppressions:
|
||||
assert IsLinux() or IsMac(), "The sanitizer suppressions flag is only supported on Linux and Mac."
|
||||
file_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
command = [
|
||||
"env", "-i", "bash",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user