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

Side by Side Diff: src/trusted/validator_arm/validator_tests.cc

Issue 9960043: Finish separation of testing from sel_ldr validation. Also, automate (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « src/trusted/validator_arm/named_class_decoder.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef NACL_TRUSTED_BUT_NOT_TCB
8 #error This file is not meant for use in the TCB
9 #endif
10
7 /* 11 /*
8 * Unit tests for the ARM validator 12 * Unit tests for the ARM validator
9 * 13 *
10 * These tests use the google-test framework (gtest for short) to exercise the 14 * These tests use the google-test framework (gtest for short) to exercise the
11 * ARM validator. The tests currently fall into two rough categories: 15 * ARM validator. The tests currently fall into two rough categories:
12 * 1. Simple method-level tests that exercise the validator's primitive 16 * 1. Simple method-level tests that exercise the validator's primitive
13 * capabilities, and 17 * capabilities, and
14 * 2. Instruction pattern tests that run the entire validator. 18 * 2. Instruction pattern tests that run the entire validator.
15 * 19 *
16 * All instruction pattern tests use hand-assembled machine code fragments, 20 * All instruction pattern tests use hand-assembled machine code fragments,
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 return problems; 703 return problems;
700 } 704 }
701 705
702 }; // anonymous namespace 706 }; // anonymous namespace
703 707
704 // Test driver function. 708 // Test driver function.
705 int main(int argc, char *argv[]) { 709 int main(int argc, char *argv[]) {
706 testing::InitGoogleTest(&argc, argv); 710 testing::InitGoogleTest(&argc, argv);
707 return RUN_ALL_TESTS(); 711 return RUN_ALL_TESTS();
708 } 712 }
OLDNEW
« no previous file with comments | « src/trusted/validator_arm/named_class_decoder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698