Sha256: 6b078c11bc204164a0e673bd0bc00265e3a15b791f944308cafabcb04a40e583

Contents?: true

Size: 1.13 KB

Versions: 44

Compression:

Stored size: 1.13 KB

Contents

#!/usr/bin/env python

# Copyright (c) 2011 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.

"""
Tests things related to debug information generation.
"""

import TestGyp

import sys

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

  test.run_gyp('test.gyp', chdir='debuginfo')

  test.build('test.gyp', test.ALL, chdir='debuginfo')

  test.built_file_must_exist('libnonbundle_shared_library.dylib.dSYM',
                             chdir='debuginfo')
  test.built_file_must_exist('nonbundle_loadable_module.so.dSYM',
                             chdir='debuginfo')
  test.built_file_must_exist('nonbundle_executable.dSYM',
                             chdir='debuginfo')

  test.built_file_must_exist('bundle_shared_library.framework.dSYM',
                             chdir='debuginfo')
  test.built_file_must_exist('bundle_loadable_module.bundle.dSYM',
                             chdir='debuginfo')
  test.built_file_must_exist('My App.app.dSYM',
                             chdir='debuginfo')

  test.pass_test()

Version data entries

44 entries across 44 versions & 7 rubygems

Version Path
libv8-3.11.8.3 vendor/v8/build/gyp/test/mac/gyptest-debuginfo.py
libv8-3.11.8.1 vendor/v8/build/gyp/test/mac/gyptest-debuginfo.py
libv8-3.11.8.0 vendor/v8/build/gyp/test/mac/gyptest-debuginfo.py
libv8-3.10.8.0 vendor/v8/build/gyp/test/mac/gyptest-debuginfo.py