blob: 1fc32bf871a22ac579fd36b597e0615df7a5ef0f [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001#!/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()