1#!/usr/bin/env python 2 3# Copyright (c) 2010 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 exclusions (e.g. sources!) are respected. Excluded sources 9that do not exist should not prevent the build from succeeding. 10""" 11 12import TestGyp 13 14test = TestGyp.TestGyp() 15 16test.run_gyp('exclusion.gyp') 17test.build('exclusion.gyp') 18 19# executables 20test.built_file_must_exist('hello' + test._exe, test.EXECUTABLE, bare=True) 21 22test.pass_test() 23