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

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: fix for windows (temp files and crlf) 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/testing/tf/converted'
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 = '$STAGING_DIR/ncval$PROGSUFFIX'
22
23 (annotate,) = env.Command(
Mark Seaborn 2012/09/10 19:38:06 Please use AutoDepsCommand() instead. Then it wil
Vlad Shcherbina 2012/09/11 14:26:00 Done.
24 target='tf_annotate.out',
25 source=['annotate_tf.py', ncval] + tfs,
26 action=[
27 'python ${SOURCES[0]} '
28 '--validator nc '
29 '--ncval%s=${SOURCES[1]} '
30 '--rdfaval=${SOURCES[2]} '
31 '--check "%s"' % (bits, tf_wildcard)
Mark Seaborn 2012/09/10 19:38:06 Passing a wildcard as a command line argument is s
Vlad Shcherbina 2012/09/11 14:26:00 Explicit list of files perhaps has some advantages
32 ],
33 )
34
35 env.AlwaysBuild(env.Alias('validator_tf_test', [annotate]))
Mark Seaborn 2012/09/10 19:38:06 You should be using AddNodeToTestSuite() to add th
Vlad Shcherbina 2012/09/11 14:26:00 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698