| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 halt_on_fail=False): | 264 halt_on_fail=False): |
| 265 ValidatorTest( | 265 ValidatorTest( |
| 266 context, 'x86-32', | 266 context, 'x86-32', |
| 267 'scons-out/opt-linux-x86-32/staging/ncval_new') | 267 'scons-out/opt-linux-x86-32/staging/ncval_new') |
| 268 with Step('validator_regression_test ragel x86-64', status, | 268 with Step('validator_regression_test ragel x86-64', status, |
| 269 halt_on_fail=False): | 269 halt_on_fail=False): |
| 270 ValidatorTest( | 270 ValidatorTest( |
| 271 context, 'x86-64', | 271 context, 'x86-64', |
| 272 'scons-out/opt-linux-x86-64/staging/ncval_new') | 272 'scons-out/opt-linux-x86-64/staging/ncval_new') |
| 273 | 273 |
| 274 with Step('dfacheckvalidator', status): |
| 275 SCons(context, platform='x86-64', parallel=True, |
| 276 args=['dfacheckvalidator']) |
| 277 |
| 274 with Step('validator_diff32_tests', status, halt_on_fail=False): | 278 with Step('validator_diff32_tests', status, halt_on_fail=False): |
| 275 SCons(context, platform='x86-32', args=['validator_diff_tests']) | 279 SCons(context, platform='x86-32', args=['validator_diff_tests']) |
| 276 with Step('validator_diff64_tests', status, halt_on_fail=False): | 280 with Step('validator_diff64_tests', status, halt_on_fail=False): |
| 277 SCons(context, platform='x86-64', args=['validator_diff_tests']) | 281 SCons(context, platform='x86-64', args=['validator_diff_tests']) |
| 278 return | 282 return |
| 279 | 283 |
| 280 # Run checkdeps script to vet #includes. | 284 # Run checkdeps script to vet #includes. |
| 281 with Step('checkdeps', status): | 285 with Step('checkdeps', status): |
| 282 Command(context, cmd=[sys.executable, 'tools/checkdeps/checkdeps.py']) | 286 Command(context, cmd=[sys.executable, 'tools/checkdeps/checkdeps.py']) |
| 283 | 287 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 start_time = time.time() | 389 start_time = time.time() |
| 386 try: | 390 try: |
| 387 Main() | 391 Main() |
| 388 finally: | 392 finally: |
| 389 time_taken = time.time() - start_time | 393 time_taken = time.time() - start_time |
| 390 print 'RESULT BuildbotTime: total= %.3f minutes' % (time_taken / 60) | 394 print 'RESULT BuildbotTime: total= %.3f minutes' % (time_taken / 60) |
| 391 | 395 |
| 392 | 396 |
| 393 if __name__ == '__main__': | 397 if __name__ == '__main__': |
| 394 TimedMain() | 398 TimedMain() |
| OLD | NEW |