Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(580)

Side by Side Diff: src/trusted/validator_ragel/build.scons

Issue 636933004: stop building/testing old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # -*- python -*- 1 # -*- 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 import json 6 import json
7 import hashlib 7 import hashlib
8 import os 8 import os
9 import platform 9 import platform
10 import sys 10 import sys
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 xml, 331 xml,
332 '--bitness', bitness, 332 '--bitness', bitness,
333 '--validator_dll', validator_dll, 333 '--validator_dll', validator_dll,
334 '--decoder_dll', decoder_dll]) 334 '--decoder_dll', decoder_dll])
335 335
336 # Never run exhaustive tests in parallel because they can take all CPU. 336 # Never run exhaustive tests in parallel because they can take all CPU.
337 env.AlwaysBuild(regular_instructions_test) 337 env.AlwaysBuild(regular_instructions_test)
338 SideEffect('check_validator', regular_instructions_test) 338 SideEffect('check_validator', regular_instructions_test)
339 dfacheckvalidator_tests.append(regular_instructions_test) 339 dfacheckvalidator_tests.append(regular_instructions_test)
340 340
341 env32 = env.Clone(BUILD_TARGET_NAME='x86-32')
342 env64 = env.Clone(BUILD_TARGET_NAME='x86-64')
343 old_ncval32 = env32.File('$STAGING_DIR/ncval$PROGSUFFIX')
344 old_ncval64 = env64.File('$STAGING_DIR/ncval$PROGSUFFIX')
345
346 regular_instructions_old_test = env.AutoDepsCommand(
347 'regular_instructions_old_test_x86_%s.out' % bitness,
348 ['${PYTHON}',
349 env.File('verify_regular_instructions_old.py'),
350 xml,
351 '--bitness', bitness,
352 '--gas', gas,
353 '--objdump', objdump,
354 '--validator_dll', validator_dll,
355 '--ncval32', old_ncval32,
356 '--ncval64', old_ncval64,
357 '--errors', '${TARGET}'])
358
359 # Never run exhaustive tests in parallel because they can take all CPU.
360 env.AlwaysBuild(regular_instructions_old_test)
361 SideEffect('check_validator', regular_instructions_old_test)
362 dfacheckvalidator_tests.append(regular_instructions_old_test)
363
364 # There are three categories of protected files: validator files, generated 341 # There are three categories of protected files: validator files, generated
365 # files (those of validator files that lie withing 'gen' directory) and 342 # files (those of validator files that lie withing 'gen' directory) and
366 # generating files (programs and input data used to produce generated 343 # generating files (programs and input data used to produce generated
367 # files). 344 # files).
368 # 345 #
369 # When validator files are changed, exhaustive validator tests have to be 346 # When validator files are changed, exhaustive validator tests have to be
370 # rerun. When generating files are changed, dfagen must be run to ensure 347 # rerun. When generating files are changed, dfagen must be run to ensure
371 # that generated files are up to date. Presubmit script uses 348 # that generated files are up to date. Presubmit script uses
372 # protected_files.json to perform these checks. 349 # protected_files.json to perform these checks.
373 350
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 468
492 if env.Bit('regenerate_golden'): 469 if env.Bit('regenerate_golden'):
493 # Don't want these tests run in parallel because they write 470 # Don't want these tests run in parallel because they write
494 # to .test files. 471 # to .test files.
495 SideEffect(tests_mask, spec_test) 472 SideEffect(tests_mask, spec_test)
496 473
497 # Spec test uses @dis section in test files, which in turn is updated 474 # Spec test uses @dis section in test files, which in turn is updated
498 # by dis_section_test. 475 # by dis_section_test.
499 if env.Bit('target_x86'): 476 if env.Bit('target_x86'):
500 env.Depends(spec_test, dis_section_test) 477 env.Depends(spec_test, dis_section_test)
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/validate_x86.gyp ('k') | src/trusted/validator_ragel/docs/testing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698