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

Side by Side Diff: src/trusted/validator_arm/gen/arm32_decode_unconditional_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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 ForbiddenTester_Case10 tester; 1034 ForbiddenTester_Case10 tester;
1034 tester.Test("1111101hiiiiiiiiiiiiiiiiiiiiiiii"); 1035 tester.Test("1111101hiiiiiiiiiiiiiiiiiiiiiiii");
1035 } 1036 }
1036 1037
1037 } // namespace nacl_arm_test 1038 } // namespace nacl_arm_test
1038 1039
1039 int main(int argc, char* argv[]) { 1040 int main(int argc, char* argv[]) {
1040 testing::InitGoogleTest(&argc, argv); 1041 testing::InitGoogleTest(&argc, argv);
1041 return RUN_ALL_TESTS(); 1042 return RUN_ALL_TESTS();
1042 } 1043 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698