| Index: test/prune_targets/gyptest-prune-targets.py
|
| diff --git a/test/prune_targets/gyptest-prune-targets.py b/test/prune_targets/gyptest-prune-targets.py
|
| deleted file mode 100644
|
| index 6526975a3cb11db083ecb6f095eff5ae248fadc5..0000000000000000000000000000000000000000
|
| --- a/test/prune_targets/gyptest-prune-targets.py
|
| +++ /dev/null
|
| @@ -1,55 +0,0 @@
|
| -#!/usr/bin/env python
|
| -
|
| -# Copyright (c) 2013 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 --root-target removes the unnecessary targets.
|
| -"""
|
| -
|
| -import TestGyp
|
| -
|
| -test = TestGyp.TestGyp()
|
| -
|
| -# By default, everything will be included.
|
| -test.run_gyp('test1.gyp')
|
| -test.build('test1.gyp', 'lib1')
|
| -test.build('test1.gyp', 'lib2')
|
| -test.build('test1.gyp', 'lib3')
|
| -test.build('test1.gyp', 'lib_indirect')
|
| -test.build('test1.gyp', 'program1')
|
| -test.build('test1.gyp', 'program2')
|
| -test.build('test1.gyp', 'program3')
|
| -
|
| -# With deep dependencies of program1 only.
|
| -test.run_gyp('test1.gyp', '--root-target=program1')
|
| -test.build('test1.gyp', 'lib1')
|
| -test.build('test1.gyp', 'lib2', status=[1,2], stderr=None)
|
| -test.build('test1.gyp', 'lib3', status=[1,2], stderr=None)
|
| -test.build('test1.gyp', 'lib_indirect')
|
| -test.build('test1.gyp', 'program1')
|
| -test.build('test1.gyp', 'program2', status=[1,2], stderr=None)
|
| -test.build('test1.gyp', 'program3', status=[1,2], stderr=None)
|
| -
|
| -# With deep dependencies of program2 only.
|
| -test.run_gyp('test1.gyp', '--root-target=program2')
|
| -test.build('test1.gyp', 'lib1', status=[1,2], stderr=None)
|
| -test.build('test1.gyp', 'lib2')
|
| -test.build('test1.gyp', 'lib3', status=[1,2], stderr=None)
|
| -test.build('test1.gyp', 'lib_indirect')
|
| -test.build('test1.gyp', 'program1', status=[1,2], stderr=None)
|
| -test.build('test1.gyp', 'program2')
|
| -test.build('test1.gyp', 'program3', status=[1,2], stderr=None)
|
| -
|
| -# With deep dependencies of program1 and program2.
|
| -test.run_gyp('test1.gyp', '--root-target=program1', '--root-target=program2')
|
| -test.build('test1.gyp', 'lib1')
|
| -test.build('test1.gyp', 'lib2')
|
| -test.build('test1.gyp', 'lib3', status=[1,2], stderr=None)
|
| -test.build('test1.gyp', 'lib_indirect')
|
| -test.build('test1.gyp', 'program1')
|
| -test.build('test1.gyp', 'program2')
|
| -test.build('test1.gyp', 'program3', status=[1,2], stderr=None)
|
| -
|
| -test.pass_test()
|
|
|