Index: test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py |
diff --git a/test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py b/test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py |
index 1279ead33994ecf67d4a4639a7e537fada1eddd8..0bdca66cdcc794eaa8ec4f4953e519f62e553b0e 100644 |
--- a/test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py |
+++ b/test/ninja/empty-and-non-empty-duplicate-name/gyptest-empty-and-non-empty-duplicate-name.py |
@@ -13,7 +13,8 @@ import TestGyp |
test = TestGyp.TestGyp(formats=['ninja']) |
-test.run_gyp('test.gyp') |
+# Reset xcode_ninja_target_pattern to its default for this test. |
+test.run_gyp('test.gyp', '-G', 'xcode_ninja_target_pattern=^$') |
# Check for both \r and \n to cover both windows and linux. |
test.must_not_contain('out/Default/build.ninja', 'build empty_target: phony\r') |