From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../test/same-rule-output-file-name/gyptest-all.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 media/webrtc/trunk/tools/gyp/test/same-rule-output-file-name/gyptest-all.py (limited to 'media/webrtc/trunk/tools/gyp/test/same-rule-output-file-name/gyptest-all.py') diff --git a/media/webrtc/trunk/tools/gyp/test/same-rule-output-file-name/gyptest-all.py b/media/webrtc/trunk/tools/gyp/test/same-rule-output-file-name/gyptest-all.py new file mode 100644 index 000000000..964e6b772 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/same-rule-output-file-name/gyptest-all.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python + +# Copyright (c) 2012 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. + +""" +Tests the use of rules with the same output file name. +""" + +import TestGyp + +test = TestGyp.TestGyp() + +test.run_gyp('subdirs.gyp', chdir='src') + +test.relocate('src', 'relocate/src') + +test.build('subdirs.gyp', test.ALL, chdir='relocate/src') +test.must_exist('relocate/src/subdir1/rule.txt') +test.must_exist('relocate/src/subdir2/rule.txt') + +test.pass_test() -- cgit v1.2.3