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

Unified Diff: test/actions-multiple/gyptest-all.py

Issue 10454038: Fixing make generator handling of multiple actions in a dependent target. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 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/make.py ('k') | test/actions-multiple/src/actions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/actions-multiple/gyptest-all.py
===================================================================
--- test/actions-multiple/gyptest-all.py (revision 1393)
+++ test/actions-multiple/gyptest-all.py (working copy)
@@ -16,6 +16,16 @@
test.relocate('src', 'relocate/src')
+# Test that multiple actions in a 'none' target that
+# depend on another 'none' target cause depended on target to
+# run individually.
+# This is only relevant to the make generator.
Nico 2012/05/28 16:43:53 Why can't you run this test for other generators?
bradn 2012/05/29 21:21:47 You can only do this with generators / build tools
+if test.format == 'make':
+ test.build('actions.gyp', chdir='relocate/src', target='multi2.txt')
+ test.must_contain('relocate/src/multi2.txt', 'hello there')
+ test.must_contain('relocate/src/multi_dep.txt', 'hello there')
+
+
# Test that two actions can be attached to the same inputs.
test.build('actions.gyp', test.ALL, chdir='relocate/src')
test.must_contain('relocate/src/output1.txt', 'hello there')
« no previous file with comments | « pylib/gyp/generator/make.py ('k') | test/actions-multiple/src/actions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698