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

Side by Side Diff: src/trusted/validator_arm/gen/arm32_decode_miscellaneous_instructions_tests.cc

Issue 12095039: Add testing of generated (ARM) baseline decoders using hand-written decoders. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 10 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
1 /* 1 /*
2 * Copyright 2013 The Native Client Authors. All rights reserved. 2 * Copyright 2013 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 // DO NOT EDIT: GENERATED CODE 7 // DO NOT EDIT: GENERATED CODE
8 8
9 #ifndef NACL_TRUSTED_BUT_NOT_TCB 9 #ifndef NACL_TRUSTED_BUT_NOT_TCB
10 #error This file is not meant for use in the TCB 10 #error This file is not meant for use in the TCB
11 #endif 11 #endif
12 12
13 13
14 #include "gtest/gtest.h" 14 #include "gtest/gtest.h"
15 #include "native_client/src/trusted/validator_arm/actual_vs_baseline.h" 15 #include "native_client/src/trusted/validator_arm/actual_vs_baseline.h"
16 #include "native_client/src/trusted/validator_arm/baseline_vs_baseline.h"
16 #include "native_client/src/trusted/validator_arm/actual_classes.h" 17 #include "native_client/src/trusted/validator_arm/actual_classes.h"
17 #include "native_client/src/trusted/validator_arm/baseline_classes.h" 18 #include "native_client/src/trusted/validator_arm/baseline_classes.h"
18 #include "native_client/src/trusted/validator_arm/inst_classes_testers.h" 19 #include "native_client/src/trusted/validator_arm/inst_classes_testers.h"
19 #include "native_client/src/trusted/validator_arm/arm_helpers.h" 20 #include "native_client/src/trusted/validator_arm/arm_helpers.h"
20 #include "native_client/src/trusted/validator_arm/gen/arm32_decode_named_bases.h " 21 #include "native_client/src/trusted/validator_arm/gen/arm32_decode_named_bases.h "
21 22
22 using nacl_arm_dec::Instruction; 23 using nacl_arm_dec::Instruction;
23 using nacl_arm_dec::ClassDecoder; 24 using nacl_arm_dec::ClassDecoder;
24 using nacl_arm_dec::Register; 25 using nacl_arm_dec::Register;
25 using nacl_arm_dec::RegisterList; 26 using nacl_arm_dec::RegisterList;
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 ActualVsBaselineTester a_vs_b_tester(actual, baseline_tester); 1308 ActualVsBaselineTester a_vs_b_tester(actual, baseline_tester);
1308 a_vs_b_tester.Test("cccc000101100000000000000111iiii"); 1309 a_vs_b_tester.Test("cccc000101100000000000000111iiii");
1309 } 1310 }
1310 1311
1311 } // namespace nacl_arm_test 1312 } // namespace nacl_arm_test
1312 1313
1313 int main(int argc, char* argv[]) { 1314 int main(int argc, char* argv[]) {
1314 testing::InitGoogleTest(&argc, argv); 1315 testing::InitGoogleTest(&argc, argv);
1315 return RUN_ALL_TESTS(); 1316 return RUN_ALL_TESTS();
1316 } 1317 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698