Make run_tests.py suppressions flag fail with a clear error on unsupported platforms (flutter/engine#28235)
This commit is contained in:
@@ -564,6 +564,7 @@ def main():
|
|||||||
assert os.path.exists(build_dir), 'Build variant directory %s does not exist!' % build_dir
|
assert os.path.exists(build_dir), 'Build variant directory %s does not exist!' % build_dir
|
||||||
|
|
||||||
if args.sanitizer_suppressions:
|
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__))
|
file_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
command = [
|
command = [
|
||||||
"env", "-i", "bash",
|
"env", "-i", "bash",
|
||||||
|
|||||||
Reference in New Issue
Block a user