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

Side by Side Diff: chrome/test/nacl/nacl_browsertest.cc

Issue 381883002: Non-SFI NaCl: Fix browser_tests based on libc_free.c (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stop using GNU_RELRO Created 6 years, 5 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 // 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
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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 #define MAYBE_MimeHandler DISABLED_MimeHandler 449 #define MAYBE_MimeHandler DISABLED_MimeHandler
459 #else 450 #else
460 #define MAYBE_MimeHandler MimeHandler 451 #define MAYBE_MimeHandler MimeHandler
461 #endif 452 #endif
462 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, MAYBE_MimeHandler) { 453 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, MAYBE_MimeHandler) {
463 RunNaClIntegrationTest(FILE_PATH_LITERAL( 454 RunNaClIntegrationTest(FILE_PATH_LITERAL(
464 "ppapi_extension_mime_handler.html")); 455 "ppapi_extension_mime_handler.html"));
465 } 456 }
466 457
467 } // namespace 458 } // namespace
OLDNEW
« chrome/test/data/nacl/nonsfi/libc_free.c ('K') | « chrome/test/data/nacl/nonsfi/libc_free.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698