Index: test/make_global_settings/ar/gyptest-make_global_settings_ar.py |
diff --git a/test/make_global_settings/ar/gyptest-make_global_settings_ar.py b/test/make_global_settings/ar/gyptest-make_global_settings_ar.py |
index e6676de6bdd08690c9fa0134afcd902a0f73ae00..aabc5618d5fc822c4b5a0daed380b395f15a80de 100644 |
--- a/test/make_global_settings/ar/gyptest-make_global_settings_ar.py |
+++ b/test/make_global_settings/ar/gyptest-make_global_settings_ar.py |
@@ -69,7 +69,7 @@ def verify_ar_host(test, ar=None, rel_path=False): |
test_format = ['ninja'] |
-if sys.platform in ('linux2', 'darwin'): |
+if sys.platform.startswith('linux') or sys.platform == 'darwin': |
test_format += ['make'] |
test = TestGyp.TestGyp(formats=test_format) |