Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env python | |
| 2 | |
| 3 """ | |
| 4 Verifies that toolsets are correctly applied | |
| 5 """ | |
| 6 | |
| 7 import TestGyp | |
| 8 | |
| 9 # Multiple toolsets are currently only supported by the make generator. | |
| 10 test = TestGyp.TestGyp(formats=['make']) | |
| 11 | |
| 12 test.run_gyp('toolsets.gyp') | |
| 13 | |
| 14 test.build_all('toolsets.gyp') | |
| 15 | |
| 16 test.run_built_executable('host-main', stdout="Host\n") | |
| 17 test.run_built_executable('target-main', stdout="Target\n") | |
| 18 | |
| 19 test.pass_test() | |
| OLD | NEW |