mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
536 B
23 lines
536 B
13 years ago
|
#!/usr/bin/env python
|
||
|
|
||
|
# Copyright (c) 2010 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 exclusions (e.g. sources!) are respected. Excluded sources
|
||
|
that do not exist should not prevent the build from succeeding.
|
||
|
"""
|
||
|
|
||
|
import TestGyp
|
||
|
|
||
|
test = TestGyp.TestGyp()
|
||
|
|
||
|
test.run_gyp('exclusion.gyp')
|
||
|
test.build('exclusion.gyp')
|
||
|
|
||
|
# executables
|
||
|
test.built_file_must_exist('hello' + test._exe, test.EXECUTABLE, bare=True)
|
||
|
|
||
|
test.pass_test()
|