OLD | NEW |
| (Empty) |
1 #! -*- python -*- | |
2 # | |
3 # Copyright (c) 2010 The Chromium Authors. 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 """Build file for tests of init_project interface. | |
8 | |
9 Adapted from scons documentation: http://www.scons.org/wiki/UnitTests | |
10 | |
11 RunUnitTests(): Runs a comment and uses the return code to determine success. | |
12 """ | |
13 | |
14 __author__ = 'mlinck@google.com (Michael Linck)' | |
15 | |
16 import os | |
17 import sys | |
18 | |
19 Import('env') | |
20 | |
21 #TODO(mlinck) Enable this test again when it works on Windows | |
22 cmd = env.CreatePythonUnitTest(filename='init_project_test.py', | |
23 dependencies=['init_project.py'], | |
24 disabled=env['IS_WINDOWS']) | |
25 | |
26 env.AddNodeToTestSuite(cmd, ['bot'], 'run_init_project_test', 'small') | |
OLD | NEW |