OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # Enable 'with' statements in Python 2.5 | 6 # Enable 'with' statements in Python 2.5 |
7 from __future__ import with_statement | 7 from __future__ import with_statement |
8 | 8 |
9 import os.path | 9 import os.path |
10 import re | 10 import re |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 with Step('validator_regression_test ragel x86-32', status, | 293 with Step('validator_regression_test ragel x86-32', status, |
294 halt_on_fail=False): | 294 halt_on_fail=False): |
295 ValidatorTest( | 295 ValidatorTest( |
296 context, 'x86-32', | 296 context, 'x86-32', |
297 'scons-out/opt-linux-x86-32/staging/validator_test') | 297 'scons-out/opt-linux-x86-32/staging/validator_test') |
298 with Step('validator_regression_test ragel x86-64', status, | 298 with Step('validator_regression_test ragel x86-64', status, |
299 halt_on_fail=False): | 299 halt_on_fail=False): |
300 ValidatorTest( | 300 ValidatorTest( |
301 context, 'x86-64', | 301 context, 'x86-64', |
302 'scons-out/opt-linux-x86-64/staging/validator_test') | 302 'scons-out/opt-linux-x86-64/staging/validator_test') |
| 303 with Step('validator_diff_tests', status, halt_on_fail=False): |
| 304 SCons(context, args=['validator_diff_tests']) |
| 305 |
303 return | 306 return |
304 | 307 |
305 # Run checkdeps script to vet #includes. | 308 # Run checkdeps script to vet #includes. |
306 with Step('checkdeps', status): | 309 with Step('checkdeps', status): |
307 Command(context, cmd=[sys.executable, 'tools/checkdeps/checkdeps.py']) | 310 Command(context, cmd=[sys.executable, 'tools/checkdeps/checkdeps.py']) |
308 | 311 |
309 # Make sure our Gyp build is working. | 312 # Make sure our Gyp build is working. |
310 with Step('gyp_compile', status): | 313 with Step('gyp_compile', status): |
311 CommandGypBuild(context) | 314 CommandGypBuild(context) |
312 | 315 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 SetupLinuxEnvironment(context) | 408 SetupLinuxEnvironment(context) |
406 elif context.Mac(): | 409 elif context.Mac(): |
407 SetupMacEnvironment(context) | 410 SetupMacEnvironment(context) |
408 else: | 411 else: |
409 raise Exception("Unsupported platform.") | 412 raise Exception("Unsupported platform.") |
410 RunBuild(BuildScript, status) | 413 RunBuild(BuildScript, status) |
411 | 414 |
412 | 415 |
413 if __name__ == '__main__': | 416 if __name__ == '__main__': |
414 Main() | 417 Main() |
OLD | NEW |