Sha256: 592f9d76661b192659d3056026a83f8d0e8ee40840a15b1691fd13cc23526ff5

Contents?: true

Size: 1.54 KB

Versions: 16

Compression:

Stored size: 1.54 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.

"""
Verifies that postbuild steps work.
"""

import TestGyp

import sys

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

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

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

  # See comment in test/subdirectory/gyptest-subdir-default.py
  if test.format == 'xcode':
    chdir = 'postbuilds/subdirectory'
  else:
    chdir = 'postbuilds'

  # Created by the postbuild scripts
  test.built_file_must_exist('el.a_touch',
                             type=test.STATIC_LIB,
                             chdir='postbuilds')
  test.built_file_must_exist('el.a_gyp_touch',
                             type=test.STATIC_LIB,
                             chdir='postbuilds')
  test.built_file_must_exist('nest_el.a_touch',
                             type=test.STATIC_LIB,
                             chdir=chdir)
  test.built_file_must_exist(
      'dyna.framework/Versions/A/dyna_touch',
      chdir='postbuilds')
  test.built_file_must_exist(
      'dyna.framework/Versions/A/dyna_gyp_touch',
      chdir='postbuilds')
  test.built_file_must_exist(
      'nest_dyna.framework/Versions/A/nest_dyna_touch',
      chdir=chdir)
  test.built_file_must_exist('dyna_standalone.dylib_gyp_touch',
                             type=test.SHARED_LIB,
                             chdir='postbuilds')

  test.pass_test()

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
libv8-3.11.8.17 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.16 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.13 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.12 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/libv8-3.11.8.4/vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.11 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.10 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.9 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.8 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.7 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.4 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-freebsd-3.11.8.3 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.3 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.1 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.11.8.0 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py
libv8-3.10.8.0 vendor/v8/build/gyp/test/mac/gyptest-postbuild.py