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

Side by Side Diff: src/trusted/validator_arm/gen/arm32_decode_ARMv7_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 20 matching lines...) Expand all
46 47
47 // The following functions test each pattern specified in parse 48 // The following functions test each pattern specified in parse
48 // decoder tables. 49 // decoder tables.
49 50
50 } // namespace nacl_arm_test 51 } // namespace nacl_arm_test
51 52
52 int main(int argc, char* argv[]) { 53 int main(int argc, char* argv[]) {
53 testing::InitGoogleTest(&argc, argv); 54 testing::InitGoogleTest(&argc, argv);
54 return RUN_ALL_TESTS(); 55 return RUN_ALL_TESTS();
55 } 56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698