Index: src/trusted/validator/build.scons |
diff --git a/src/trusted/validator/build.scons b/src/trusted/validator/build.scons |
index 8d635562db752a89794846ffb48cb4f34f00a7fb..f4a73457d18934a4cfbeb62b3b46ffdae72a4fe9 100644 |
--- a/src/trusted/validator/build.scons |
+++ b/src/trusted/validator/build.scons |
@@ -47,3 +47,18 @@ if env.Bit('build_x86_32') or env.Bit('build_x86_64'): |
env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], |
'run_validator_debug_stub_test') |
+ |
+if env.Bit('build_x86'): |
+ gtest_env = env.MakeGTestEnv() |
+ |
+ validation_pnacl_mode_test_exe = gtest_env.ComponentProgram( |
+ 'validation_pnacl_mode_test', |
+ ['validation_pnacl_mode_test.cc'], |
+ EXTRA_LIBS=['validators', 'nrd_xfer']) |
+ |
+ node = gtest_env.CommandTest( |
+ 'validation_pnacl_mode_test.out', |
+ command=[validation_pnacl_mode_test_exe]) |
+ |
+ env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], |
+ 'run_pnacl_mode_test.cc') |
Petr Hosek
2015/07/20 23:58:57
Nit: Could you please align this with the `node` a
ruiq
2015/07/21 02:52:24
Done.
|