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

Side by Side Diff: src/trusted/validator/x86/testing/tf/build.scons

Issue 10908137: (abandoned) Validator tests: convert hexes to TFs and run on bots (for prod. validator only) (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: restore 'read overflow' and 'SegmentationError' Created 8 years, 3 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
(Empty)
1 # -*- python -*-
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
4 # found in the LICENSE file.
5
6 import glob
7
8 Import('env')
9
10
11 if not env.Bit('target_x86'):
12 Return()
13
14 tf_tests_dir = '$MAIN_DIR/src/trusted/validator_x86/testdata'
15
16 bits = int(env.get('TARGET_SUBARCH'))
17
18 tf_wildcard = '%s/%s/*.tf' % (tf_tests_dir, bits)
19 tfs = glob.glob(tf_wildcard)
20
21 ncval = env.File('$STAGING_DIR/ncval$PROGSUFFIX')
22
23 annotate = env.AutoDepsCommand(
24 'tf_annotate.out',
25 ['${PYTHON}',
26 env.File('annotate_tf.py'),
27 '--validator', 'nc',
28 '--ncval%s' % bits, ncval,
29 '"%s"' % tf_wildcard],
30 extra_deps=tfs
31 )
32
33 env.AddNodeToTestSuite(
34 annotate,
35 ['small_tests'],
36 node_name='validator_tf_test'
37 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698