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

Unified Diff: test/ninja/chained-rules/gyptest-chained-rules.py

Issue 10381103: ninja: rules chained only by output of first one failing Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: remove debug print 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 | « test/ninja/chained-rules/copyfile.py ('k') | test/ninja/chained-rules/input.wxs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/ninja/chained-rules/gyptest-chained-rules.py
diff --git a/test/ninja/chained-rules/gyptest-chained-rules.py b/test/ninja/chained-rules/gyptest-chained-rules.py
new file mode 100644
index 0000000000000000000000000000000000000000..6f70a0fbc063aeb07bf2f4259c3b3dd08f4993e9
--- /dev/null
+++ b/test/ninja/chained-rules/gyptest-chained-rules.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2012 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+Verifies that rules operating on the output of other rules are processed.
+"""
+
+import os
+import sys
+import TestGyp
+
+test = TestGyp.TestGyp(formats=['ninja'])
Nico 2012/05/16 23:08:55 Why a ninja-only test?
+test.run_gyp('chained-rules.gyp')
+test.build('chained-rules.gyp', test.ALL)
+test.built_file_must_exist('input.msi')
+test.pass_test()
« no previous file with comments | « test/ninja/chained-rules/copyfile.py ('k') | test/ninja/chained-rules/input.wxs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698