Index: test/make_global_settings/wrapper/gyptest-wrapper.py |
diff --git a/test/make_global_settings/wrapper/gyptest-wrapper.py b/test/make_global_settings/wrapper/gyptest-wrapper.py |
index eb1ebfd5a9629b7a79b5048faf79f83dfd8b3a98..4b245e4bed0dee795ea93050e0efc61488c633ea 100644 |
--- a/test/make_global_settings/wrapper/gyptest-wrapper.py |
+++ b/test/make_global_settings/wrapper/gyptest-wrapper.py |
@@ -13,7 +13,7 @@ import sys |
import TestGyp |
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) |