Index: src/trusted/validator/build.scons |
diff --git a/src/trusted/validator/build.scons b/src/trusted/validator/build.scons |
index d79a357ca504e943bf1167f573ae1c6a9d633a42..120f30cf9f493755b2db2dcf7d91b817601c7dc3 100644 |
--- a/src/trusted/validator/build.scons |
+++ b/src/trusted/validator/build.scons |
@@ -62,3 +62,29 @@ if env.Bit('build_x86_64'): |
env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], |
'run_disable_nontemporals_test') |
+ |
+if env.Bit('build_x86_64'): |
+ validation_rewrite_test_exe= gtest_env.ComponentProgram( |
+ 'validation_rewrite_64_test', |
+ ['validation_rewrite_64_test.cc', 'validation_rewrite_64_test_data.S'], |
+ EXTRA_LIBS=['validators', 'nrd_xfer']) |
+ |
+ node = gtest_env.CommandTest( |
+ 'validation_rewrite_64_test.out', |
+ command=[validation_rewrite_test_exe]) |
+ |
+ env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], |
+ 'run_validation_rewrite_64_test') |
+ |
+if env.Bit('build_x86_32'): |
+ validation_rewrite_test_exe= gtest_env.ComponentProgram( |
+ 'validation_rewrite_32_test', |
+ ['validation_rewrite_32_test.cc', 'validation_rewrite_32_test_data.S'], |
+ EXTRA_LIBS=['validators', 'nrd_xfer']) |
+ |
+ node = gtest_env.CommandTest( |
+ 'validation_rewrite_32_test.out', |
+ command=[validation_rewrite_test_exe]) |
+ |
+ env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], |
+ 'run_validation_rewrite_32_test') |