• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2
3# Copyright (c) 2014 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.
6
7"""
8Verifies that it's possible for gyp actions to use the result of calling a make
9function with "$()".
10"""
11
12import TestGyp
13
14test = TestGyp.TestGyp(formats=['android'])
15
16test.run_gyp('make_functions.gyp')
17
18test.build('make_functions.gyp', test.ALL)
19
20file_content = 'A boring test file\n'
21test.built_file_must_match('file.in', file_content)
22test.built_file_must_match('file.out', file_content)
23
24test.pass_test()
25