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

Unified Diff: test/copies/gyptest-default.py

Issue 1254413004: Adding framework path mapping for 'copies' action in gyp files. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Verified passing tests Created 5 years, 2 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
Index: test/copies/gyptest-default.py
diff --git a/test/copies/gyptest-default.py b/test/copies/gyptest-default.py
index a916869f0dbd3c8571dc1e5ba7c69a6e4e0d7637..ae298bdcf49848cf8ca74ecc17f0aaa7fd2baa35 100755
--- a/test/copies/gyptest-default.py
+++ b/test/copies/gyptest-default.py
@@ -10,6 +10,8 @@ Verifies file copies using the build tool default.
import TestGyp
+import sys
+
test = TestGyp.TestGyp()
test.run_gyp('copies.gyp',
@@ -22,10 +24,12 @@ test.build('copies.gyp', chdir='relocate/src')
test.must_match(['relocate', 'src', 'copies-out', 'file1'], 'file1 contents\n')
+test.built_file_must_match('copies-out/framework/file1',
+ 'file1 contents\n',
+ chdir='relocate/src')
test.built_file_must_match('copies-out/file2',
'file2 contents\n',
chdir='relocate/src')
-
test.built_file_must_match('copies-out/directory/file3',
'file3 contents\n',
chdir='relocate/src')

Powered by Google App Engine
This is Rietveld 408576698