summaryrefslogtreecommitdiff
path: root/deps/gyp/test/dependencies/gyptest-all-dependent-settings-order.py
blob: 715f322f41960e62eae41acdb6cbb6032613b13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python

# Copyright 2015 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 that all_dependent_settings are processed in topological order.
"""

import TestGyp

test = TestGyp.TestGyp()

test.run_gyp('all_dependent_settings_order.gyp', chdir='adso')
test.build('all_dependent_settings_order.gyp', chdir='adso')
test.built_file_must_match('out.txt', 'd.cc a.cc b.cc c.cc',
                           chdir='adso')
test.pass_test()