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

Side by Side Diff: src/trusted/validator_arm/address_set_test.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
OLDNEW
1 /* 1 /*
2 * Copyright 2009 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 3 * Use of this source code is governed by a BSD-style license that can be
4 * be found in the LICENSE file. 4 * found in the LICENSE file.
5 * Copyright 2009, Google Inc.
6 */ 5 */
7 6
8 /* 7 /*
9 * A simple test for AddressSet. 8 * A simple test for AddressSet.
10 */ 9 */
11 10
11 #ifndef NACL_TRUSTED_BUT_NOT_TCB
12 #error("This file is not meant for use in the TCB")
robertm 2012/04/11 01:28:43 I think #error is usually used without parens
Karl 2012/04/16 23:18:10 Done.
13 #endif
14
12 #include <stdio.h> 15 #include <stdio.h>
13 #include <stdlib.h> 16 #include <stdlib.h>
14 17
15 #include "native_client/src/include/portability.h" 18 #include "native_client/src/include/portability.h"
16 #include "native_client/src/include/nacl_macros.h" 19 #include "native_client/src/include/nacl_macros.h"
17 #include "native_client/src/trusted/validator_arm/address_set.h" 20 #include "native_client/src/trusted/validator_arm/address_set.h"
18 21
19 using nacl_arm_val::AddressSet; 22 using nacl_arm_val::AddressSet;
20 23
21 static void test_mutation() { 24 static void test_mutation() {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 abort(); 69 abort();
67 } 70 }
68 } 71 }
69 } 72 }
70 73
71 int main() { 74 int main() {
72 test_mutation(); 75 test_mutation();
73 puts("Tests successful."); 76 puts("Tests successful.");
74 return 0; 77 return 0;
75 } 78 }
OLDNEW
« no previous file with comments | « no previous file | src/trusted/validator_arm/armv7.table » ('j') | src/trusted/validator_arm/armv7.table » ('J')

Powered by Google App Engine
This is Rietveld 408576698