Sha256: a24cf65dc511a199303623c4fa4996640f747619660cdb0004f7972a371a02b6

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

#!/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.

"""
Verify that the xcode-ninja GYP_GENERATOR runs and builds correctly.
"""

import TestGyp

import os
import sys

if sys.platform == 'darwin':
  test = TestGyp.TestGyp(formats=['xcode'])

  # Run ninja and xcode-ninja
  test.formats = ['ninja', 'xcode-ninja']
  test.run_gyp('test.gyp', chdir='app-bundle')

  # If it builds the target, it works.
  test.build('test.ninja.gyp', chdir='app-bundle')
  test.pass_test()

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/ios/gyptest-xcode-ninja.py
mt-libuv-4.1.03 ext/gyp/test/ios/gyptest-xcode-ninja.py
mt-libuv-4.1.02 ext/gyp/test/ios/gyptest-xcode-ninja.py
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-xcode-ninja.py