| Index: test/mac/gyptest-swift.py
|
| diff --git a/test/mac/gyptest-swift.py b/test/mac/gyptest-swift.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6541160ca1cc6eedc1e3b91b2f22c1a193969daa
|
| --- /dev/null
|
| +++ b/test/mac/gyptest-swift.py
|
| @@ -0,0 +1,22 @@
|
| +#!/usr/bin/env python
|
| +
|
| +# Copyright (c) 2015 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 a swift framework builds correctly.
|
| +"""
|
| +
|
| +import TestGyp
|
| +
|
| +import sys
|
| +
|
| +if sys.platform == 'darwin':
|
| + test = TestGyp.TestGyp(formats=['ninja', 'xcode'])
|
| +
|
| + test.run_gyp('test.gyp', chdir='swift')
|
| +
|
| + test.build('test.gyp', test.ALL, chdir='swift')
|
| +
|
| + test.pass_test()
|
|
|