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

Unified Diff: test/ios/gyptest-app-error-ios.py

Issue 32193007: [ninja/mac] Add xcode_emulation support for -Wobjc-missing-property-synthesis. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 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
« test/ios/app-bundle/test-error.gyp ('K') | « test/ios/app-bundle/test-error.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« test/ios/app-bundle/test-error.gyp ('K') | « test/ios/app-bundle/test-error.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698