OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import mojom_test | 5 import mojom_test |
6 import sys | 6 import sys |
7 | 7 |
8 EXPECT_EQ = mojom_test.EXPECT_EQ | 8 EXPECT_EQ = mojom_test.EXPECT_EQ |
9 EXPECT_TRUE = mojom_test.EXPECT_TRUE | 9 EXPECT_TRUE = mojom_test.EXPECT_TRUE |
10 RunTest = mojom_test.RunTest | 10 RunTest = mojom_test.RunTest |
(...skipping 13 matching lines...) Expand all Loading... |
24 def Main(args): | 24 def Main(args): |
25 errors = 0 | 25 errors = 0 |
26 errors += RunTest(BuildAndTestModule) | 26 errors += RunTest(BuildAndTestModule) |
27 errors += RunTest(TestModulesEqual) | 27 errors += RunTest(TestModulesEqual) |
28 | 28 |
29 return errors | 29 return errors |
30 | 30 |
31 | 31 |
32 if __name__ == '__main__': | 32 if __name__ == '__main__': |
33 sys.exit(Main(sys.argv[1:])) | 33 sys.exit(Main(sys.argv[1:])) |
OLD | NEW |