OLD | NEW |
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 'ppapi_bad_browser_test.out', | 62 'ppapi_bad_browser_test.out', |
63 url='ppapi_bad.html', | 63 url='ppapi_bad.html', |
64 nmf=nmfs, | 64 nmf=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 env.AddNodeToTestSuite(node, | 68 env.AddNodeToTestSuite(node, |
69 ['chrome_browser_tests'], | 69 ['chrome_browser_tests'], |
70 'run_ppapi_bad_browser_test', | 70 'run_ppapi_bad_browser_test', |
71 is_broken=env.PPAPIBrowserTesterIsBroken() or | 71 is_broken=env.PPAPIBrowserTesterIsBroken() or |
72 env.Bit('nacl_glibc')) | 72 env.Bit('nacl_glibc') or |
| 73 # TODO(halyavin): re-enable this when fixed. |
| 74 True |
| 75 ) |
73 | 76 |
74 | 77 |
75 # Bad nexe tests that won't work in PNaCl (native) | 78 # Bad nexe tests that won't work in PNaCl (native) |
76 # For example, partly_invalid.nexe has inline assembly in its source files. | 79 # For example, partly_invalid.nexe has inline assembly in its source files. |
77 ppapi_bad_native_files = [ | 80 ppapi_bad_native_files = [ |
78 env.File('ppapi_bad_native.html'), | 81 env.File('ppapi_bad_native.html'), |
79 env.File('${SCONSTRUCT_DIR}/tests/ppapi_browser/progress_events/' + | 82 env.File('${SCONSTRUCT_DIR}/tests/ppapi_browser/progress_events/' + |
80 'ppapi_progress_events.js'), | 83 'ppapi_progress_events.js'), |
81 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js') | 84 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js') |
82 ] | 85 ] |
(...skipping 12 matching lines...) Expand all Loading... |
95 | 98 |
96 env.AddNodeToTestSuite(node, | 99 env.AddNodeToTestSuite(node, |
97 ['chrome_browser_tests'], | 100 ['chrome_browser_tests'], |
98 'run_ppapi_bad_native_test', | 101 'run_ppapi_bad_native_test', |
99 is_broken=env.PPAPIBrowserTesterIsBroken() or | 102 is_broken=env.PPAPIBrowserTesterIsBroken() or |
100 env.Bit('nacl_glibc') or | 103 env.Bit('nacl_glibc') or |
101 env.Bit('bitcode') or | 104 env.Bit('bitcode') or |
102 # TODO(halyavin): re-enable this when fixed. | 105 # TODO(halyavin): re-enable this when fixed. |
103 True | 106 True |
104 ) | 107 ) |
OLD | NEW |