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

Unified Diff: src/trusted/service_runtime/build.scons

Issue 10070010: validator_ragel: Link into TCB, use under env var (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: revert introducing extra empty line Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/service_runtime/arch/x86/service_runtime_x86.gyp ('k') | src/trusted/service_runtime/sel_ldr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/build.scons
diff --git a/src/trusted/service_runtime/build.scons b/src/trusted/service_runtime/build.scons
index 26b3e2a6e0f5156190743d37d3b81c49d311c4c3..17e7e17485f4ac3d2591f33f5c677ed35294df0f 100644
--- a/src/trusted/service_runtime/build.scons
+++ b/src/trusted/service_runtime/build.scons
@@ -751,6 +751,19 @@ if env.Bit('target_x86_64') and not env.CrossToolsBuild():
)
env.AddNodeToTestSuite(node, ['small_tests'], 'run_hello_x32_test')
+# Test canned hello_world binary with validator_ragel.
+if env.Bit('target_x86'):
+ node = env.CommandSelLdrTestNacl(
+ 'dfa_hwd.out',
+ env.File(arch_testdata_dir + '/hello_world.nexe'),
+ stdout_golden = env.File('testdata/hello_world.stdout'),
+ stderr_golden = env.File('testdata/dfa_validator_hello.stderr'),
+ filter_regex = '"^(Hello, World!)$|DANGER"',
+ osenv='NACL_DANGEROUS_USE_DFA_VALIDATOR=1',
+ )
+ env.AddNodeToTestSuite(node, ['medium_tests', 'validator_tests'],
+ 'run_dfa_validator_hello_world_test')
+
# ----------------------------------------------------------
# Integration Tests
# ----------------------------------------------------------
« no previous file with comments | « src/trusted/service_runtime/arch/x86/service_runtime_x86.gyp ('k') | src/trusted/service_runtime/sel_ldr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698