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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/bad/nacl.scons

Issue 8101007: Turn off tests that are failing on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | « no previous file | ppapi/native_client/tests/ppapi_browser/crash/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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 # Tests fatal errors that occur during loading. 6 # Tests fatal errors that occur during loading.
7 # (See ppapi_browser/crash for fatal errors that occur after loading). 7 # (See ppapi_browser/crash for fatal errors that occur after loading).
8 # TODO(polina): rename the directory and browser test to bad_load 8 # TODO(polina): rename the directory and browser test to bad_load
9 # 9 #
10 # Manual testing with localhost:5103/scons-out/.../staging/ppapi_bad.html: 10 # Manual testing with localhost:5103/scons-out/.../staging/ppapi_bad.html:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 # dependencies to scons-out. 58 # dependencies to scons-out.
59 env.Alias('ppapi_bad', ppapi_bad) 59 env.Alias('ppapi_bad', ppapi_bad)
60 60
61 node = env.PPAPIBrowserTester( 61 node = env.PPAPIBrowserTester(
62 'ppapi_bad_browser_test.out', 62 'ppapi_bad_browser_test.out',
63 url='ppapi_bad.html', 63 url='ppapi_bad.html',
64 nmfs=nmfs, 64 nmfs=nmfs,
65 files=[env.File(f) for f in ppapi_bad_files], 65 files=[env.File(f) for f in ppapi_bad_files],
66 args=['--allow_404']) 66 args=['--allow_404'])
67 67
68 # This test is timing out with glibc on Windows 7: 68 # This test is failing on Windows:
69 # http://code.google.com/p/nativeclient/issues/detail?id=2191 69 # crbug.com/98720
70 env.AddNodeToTestSuite(node, 70 env.AddNodeToTestSuite(node,
71 ['chrome_browser_tests'], 71 ['chrome_browser_tests'],
72 'run_ppapi_bad_browser_test', 72 'run_ppapi_bad_browser_test',
73 is_broken=env.PPAPIBrowserTesterIsBroken() or 73 is_broken=env.PPAPIBrowserTesterIsBroken() or
74 (env.Bit('nacl_glibc') and env.Bit('windows'))) 74 env.Bit('host_windows'))
75 75
76 76
77 # Bad nexe tests that won't work in PNaCl (native) 77 # Bad nexe tests that won't work in PNaCl (native)
78 # For example, partly_invalid.nexe has inline assembly in its source files. 78 # For example, partly_invalid.nexe has inline assembly in its source files.
79 ppapi_bad_native_files = [ 79 ppapi_bad_native_files = [
80 env.File('ppapi_bad_native.html'), 80 env.File('ppapi_bad_native.html'),
81 env.File('${SCONSTRUCT_DIR}/tests/ppapi_browser/progress_events/' + 81 env.File('${SCONSTRUCT_DIR}/tests/ppapi_browser/progress_events/' +
82 'ppapi_progress_events.js'), 82 'ppapi_progress_events.js'),
83 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js') 83 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js')
84 ] 84 ]
85 replicated_files = env.Replicate('${STAGING_DIR}', ppapi_bad_native_files) 85 replicated_files = env.Replicate('${STAGING_DIR}', ppapi_bad_native_files)
86 env.Alias('all_programs', replicated_files) 86 env.Alias('all_programs', replicated_files)
87 87
88 partly_invalid = env.File('${STAGING_DIR}/partly_invalid${PROGSUFFIX}') 88 partly_invalid = env.File('${STAGING_DIR}/partly_invalid${PROGSUFFIX}')
89 ppapi_bad_native_files.append(partly_invalid) 89 ppapi_bad_native_files.append(partly_invalid)
90 90
91 node = env.PPAPIBrowserTester( 91 node = env.PPAPIBrowserTester(
92 'ppapi_bad_native_test.out', 92 'ppapi_bad_native_test.out',
93 url='ppapi_bad_native.html', 93 url='ppapi_bad_native.html',
94 nmfs=['${TEST_DIR}/partly_invalid.nmf'], 94 nmfs=['${TEST_DIR}/partly_invalid.nmf'],
95 files=ppapi_bad_native_files, 95 files=ppapi_bad_native_files,
96 ) 96 )
97 97
98 env.AddNodeToTestSuite(node, 98 env.AddNodeToTestSuite(node,
99 ['chrome_browser_tests'], 99 ['chrome_browser_tests'],
100 'run_ppapi_bad_native_test', 100 'run_ppapi_bad_native_test',
101 is_broken=env.PPAPIBrowserTesterIsBroken() or 101 is_broken=env.PPAPIBrowserTesterIsBroken() or
102 env.Bit('nacl_glibc') or 102 env.Bit('nacl_glibc') or
103 env.Bit('bitcode')) 103 env.Bit('bitcode'))
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/tests/ppapi_browser/crash/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698