Index: test/chained-rules/gyptest-chained-rules.py |
diff --git a/test/chained-rules/gyptest-chained-rules.py b/test/chained-rules/gyptest-chained-rules.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6695e6bed7f0c384abbcddb76d9ba0576eb80afa |
--- /dev/null |
+++ b/test/chained-rules/gyptest-chained-rules.py |
@@ -0,0 +1,18 @@ |
+#!/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 we don't have chained rule invocations. |
+""" |
+ |
+import TestGyp |
+ |
+# Rules that chain the output of a rule to another rule are challenging to |
+# support in all generators, so we purposefully ensure we don't use that |
+# behaviour. |
+test = TestGyp.TestGyp() |
+test.run_gyp('chained-rules.gyp', status=1, stderr=None) |
+test.pass_test() |