Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: pylib/gyp/generator/ninja_test.py

Issue 10447063: Fix make and ninja backends to sensibly handle duplicate target names in different directories (Closed) Base URL: http://git.chromium.org/external/gyp.git@master
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/intermediate_dir/gyptest-intermediate-dir.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pylib/gyp/generator/ninja_test.py
===================================================================
--- pylib/gyp/generator/ninja_test.py (revision 1414)
+++ pylib/gyp/generator/ninja_test.py (working copy)
@@ -16,7 +16,7 @@
class TestPrefixesAndSuffixes(unittest.TestCase):
if sys.platform in ('win32', 'cygwin'):
def test_BinaryNamesWindows(self):
- writer = ninja.NinjaWriter('wee', '.', '.', 'ninja.build', 'win')
+ writer = ninja.NinjaWriter('foo', 'wee', '.', '.', 'ninja.build', 'win')
spec = { 'target_name': 'wee' }
self.assertTrue(writer.ComputeOutputFileName(spec, 'executable').
endswith('.exe'))
@@ -27,7 +27,7 @@
if sys.platform == 'linux2':
def test_BinaryNamesLinux(self):
- writer = ninja.NinjaWriter('wee', '.', '.', 'ninja.build', 'linux')
+ writer = ninja.NinjaWriter('foo', 'wee', '.', '.', 'ninja.build', 'linux')
spec = { 'target_name': 'wee' }
self.assertTrue('.' not in writer.ComputeOutputFileName(spec,
'executable'))
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/intermediate_dir/gyptest-intermediate-dir.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698