3
# Copyright (c) 2009 Google Inc. All rights reserved.
4
# Use of this source code is governed by a BSD-style license that can be
5
# found in the LICENSE file.
8
Test actions that output to PRODUCT_DIR.
13
# TODO fix this for xcode: http://code.google.com/p/gyp/issues/detail?id=88
14
test = TestGyp.TestGyp(formats=['!xcode'])
16
test.run_gyp('none.gyp', chdir='src')
18
test.build('none.gyp', test.ALL, chdir='src')
20
file_content = 'Hello from make-file.py\n'
21
subdir_file_content = 'Hello from make-subdir-file.py\n'
23
test.built_file_must_match('file.out', file_content, chdir='src')
24
test.built_file_must_match('subdir_file.out', subdir_file_content, chdir='src')