diff options
author | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2015-03-30 14:33:17 +0900 |
---|---|---|
committer | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2015-04-04 11:01:26 +0900 |
commit | 21f4fb62157567eb6e1eac08927d832c7b5b89dd (patch) | |
tree | a0f9f81df66f9ba9d2a925c6ce0d15954db57ffa /tools/gyp/test/android/gyptest-make-functions.py | |
parent | efadffe8616b895cd67fd270eadbd241d1069a47 (diff) | |
download | node-new-21f4fb62157567eb6e1eac08927d832c7b5b89dd.tar.gz |
deps: update gyp to e1c8fcf7
PR-URL: https://github.com/iojs/io.js/pull/1325
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools/gyp/test/android/gyptest-make-functions.py')
-rwxr-xr-x | tools/gyp/test/android/gyptest-make-functions.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/gyp/test/android/gyptest-make-functions.py b/tools/gyp/test/android/gyptest-make-functions.py new file mode 100755 index 0000000000..cdf0e0ed29 --- /dev/null +++ b/tools/gyp/test/android/gyptest-make-functions.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python + +# Copyright (c) 2014 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 it's possible for gyp actions to use the result of calling a make +function with "$()". +""" + +import TestGyp + +test = TestGyp.TestGyp(formats=['android']) + +test.run_gyp('make_functions.gyp') + +test.build('make_functions.gyp', test.ALL) + +file_content = 'A boring test file\n' +test.built_file_must_match('file.in', file_content) +test.built_file_must_match('file.out', file_content) + +test.pass_test() |