Index: test/ios/gyptest-app-error-ios.py |
=================================================================== |
--- test/ios/gyptest-app-error-ios.py (revision 0) |
+++ test/ios/gyptest-app-error-ios.py (working copy) |
@@ -0,0 +1,28 @@ |
+#!/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 ios app bundles are built correctly. |
+""" |
+ |
+import TestGyp |
+ |
+import sys |
+ |
+if sys.platform == 'darwin': |
+ expected_error = 'auto property synthesis is synthesizing property not ' \ |
+ 'explicitly synthesized' |
+ |
+ test = TestGyp.TestGyp(formats=['xcode', 'ninja']) |
+ |
+ test.run_gyp('test-error.gyp', chdir='app-bundle') |
+ |
+ test.build('test-error.gyp', test.ALL, chdir='app-bundle') |
+ |
+ if expected_error in test.stdout(): |
+ test.pass_test() |
+ else: |
+ test.fail_test() |
Property changes on: test/ios/gyptest-app-error-ios.py |
___________________________________________________________________ |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Added: svn:eol-style |
## -0,0 +1 ## |
+LF |
\ No newline at end of property |