From a5adf663ced76efd8a8eb5fe64f2b2908730289e Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Fri, 20 Aug 2021 14:48:30 -0700 Subject: [PATCH] Make run_tests.py suppressions flag fail with a clear error on unsupported platforms (flutter/engine#28235) --- engine/src/flutter/testing/run_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/testing/run_tests.py b/engine/src/flutter/testing/run_tests.py index 9224aace014..18343de0403 100755 --- a/engine/src/flutter/testing/run_tests.py +++ b/engine/src/flutter/testing/run_tests.py @@ -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",