| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // be found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Unit tests for ppGoogleNaClPlugin | 5 // Unit tests for ppGoogleNaClPlugin |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 | 8 |
| 9 #include "native_client/src/include/nacl_string.h" | 9 #include "native_client/src/include/nacl_string.h" |
| 10 #include "native_client/src/trusted/plugin/nexe_arch.h" | 10 #include "native_client/src/trusted/plugin/nexe_arch.h" |
| 11 #include "native_client/src/trusted/plugin/dylib_unittest.h" | 11 #include "native_client/src/trusted/plugin/dylib_unittest.h" |
| 12 | 12 |
| 13 // Verify that the ISA string returned by the plugin is the correct one for | 13 // Verify that the ISA string returned by the plugin is the correct one for |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 51 } |
| 52 | 52 |
| 53 if (success) { | 53 if (success) { |
| 54 printf("PASS\n"); | 54 printf("PASS\n"); |
| 55 return 0; | 55 return 0; |
| 56 } else { | 56 } else { |
| 57 printf("FAIL\n"); | 57 printf("FAIL\n"); |
| 58 return 1; | 58 return 1; |
| 59 } | 59 } |
| 60 } | 60 } |
| OLD | NEW |