| OLD | NEW |
| 1 // Copyright (c) 2012 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 be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdio.h> | 5 #include <stdio.h> |
| 6 #if defined(OS_POSIX) | 6 #if defined(OS_POSIX) |
| 7 #include <unistd.h> | 7 #include <unistd.h> |
| 8 #elif defined(OS_WIN) | 8 #elif defined(OS_WIN) |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #endif | 10 #endif |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 namespace { | 27 namespace { |
| 28 | 28 |
| 29 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
| 30 // crbug.com/98721 | 30 // crbug.com/98721 |
| 31 # define MAYBE_SysconfNprocessorsOnln DISABLED_SysconfNprocessorsOnln | 31 # define MAYBE_SysconfNprocessorsOnln DISABLED_SysconfNprocessorsOnln |
| 32 #else | 32 #else |
| 33 # define MAYBE_SysconfNprocessorsOnln SysconfNprocessorsOnln | 33 # define MAYBE_SysconfNprocessorsOnln SysconfNprocessorsOnln |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 // crbug.com/392768 | |
| 37 #if defined(OS_LINUX) | |
| 38 # define MAYBE_Messaging DISABLED_Messaging | |
| 39 # define MAYBE_Irt DISABLED_Irt | |
| 40 #else | |
| 41 # define MAYBE_Messaging MAYBE_NONSFI(Messaging) | |
| 42 # define MAYBE_Irt MAYBE_NONSFI(Irt) | |
| 43 #endif | |
| 44 | |
| 45 NACL_BROWSER_TEST_F(NaClBrowserTest, SimpleLoad, { | 36 NACL_BROWSER_TEST_F(NaClBrowserTest, SimpleLoad, { |
| 46 RunLoadTest(FILE_PATH_LITERAL("nacl_load_test.html")); | 37 RunLoadTest(FILE_PATH_LITERAL("nacl_load_test.html")); |
| 47 }) | 38 }) |
| 48 | 39 |
| 49 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNonSfiMode, MAYBE_Messaging) { | 40 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNonSfiMode, MAYBE_NONSFI(Messaging)) { |
| 50 RunLoadTest(FILE_PATH_LITERAL("libc_free.html")); | 41 RunLoadTest(FILE_PATH_LITERAL("libc_free.html")); |
| 51 } | 42 } |
| 52 | 43 |
| 53 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNonSfiMode, MAYBE_Irt) { | 44 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNonSfiMode, MAYBE_NONSFI(Irt)) { |
| 54 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_test.html")); | 45 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_test.html")); |
| 55 } | 46 } |
| 56 | 47 |
| 57 NACL_BROWSER_TEST_F(NaClBrowserTest, ExitStatus0, { | 48 NACL_BROWSER_TEST_F(NaClBrowserTest, ExitStatus0, { |
| 58 RunNaClIntegrationTest(FILE_PATH_LITERAL( | 49 RunNaClIntegrationTest(FILE_PATH_LITERAL( |
| 59 "pm_exit_status_test.html?trigger=exit0&expected_exit=0")); | 50 "pm_exit_status_test.html?trigger=exit0&expected_exit=0")); |
| 60 }) | 51 }) |
| 61 | 52 |
| 62 NACL_BROWSER_TEST_F(NaClBrowserTest, ExitStatus254, { | 53 NACL_BROWSER_TEST_F(NaClBrowserTest, ExitStatus254, { |
| 63 RunNaClIntegrationTest(FILE_PATH_LITERAL( | 54 RunNaClIntegrationTest(FILE_PATH_LITERAL( |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 #define MAYBE_MimeHandler DISABLED_MimeHandler | 455 #define MAYBE_MimeHandler DISABLED_MimeHandler |
| 465 #else | 456 #else |
| 466 #define MAYBE_MimeHandler MimeHandler | 457 #define MAYBE_MimeHandler MimeHandler |
| 467 #endif | 458 #endif |
| 468 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, MAYBE_MimeHandler) { | 459 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, MAYBE_MimeHandler) { |
| 469 RunNaClIntegrationTest(FILE_PATH_LITERAL( | 460 RunNaClIntegrationTest(FILE_PATH_LITERAL( |
| 470 "ppapi_extension_mime_handler.html")); | 461 "ppapi_extension_mime_handler.html")); |
| 471 } | 462 } |
| 472 | 463 |
| 473 } // namespace | 464 } // namespace |
| OLD | NEW |