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
Verifies inclusion of $HOME/.gyp/includes.gypi works.
14
test = TestGyp.TestGyp()
16
os.environ['HOME'] = os.path.abspath('home')
18
test.run_gyp('all.gyp', chdir='src')
20
# After relocating, we should still be able to build (build file shouldn't
21
# contain relative reference to ~/.gyp/includes.gypi)
22
test.relocate('src', 'relocate/src')
24
test.build('all.gyp', test.ALL, chdir='relocate/src')
26
test.run_built_executable('printfoo',
28
stdout="FOO is fromhome\n");