Sha256: 53389bfa77a25601a92d4823e94630b323acc3f7fd93b21268fff313fe5ed7f5

Contents?: true

Size: 651 Bytes

Versions: 2

Compression:

Stored size: 651 Bytes

Contents

#!/usr/bin/env python

# Copyright (c) 2013 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 ARC objc settings are handled correctly.
"""

import TestGyp

import sys

if sys.platform == 'darwin':
  # set |match| to ignore build stderr output.
  test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'],
                         match = lambda a, b: True)

  CHDIR = 'objc-arc'
  test.run_gyp('test.gyp', chdir=CHDIR)

  test.build('test.gyp', 'arc_enabled', chdir=CHDIR)
  test.build('test.gyp', 'arc_disabled', chdir=CHDIR)

  test.pass_test()

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-objc-arc.py
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/mac/gyptest-objc-arc.py