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

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

Issue 16296005: Split pnacl and nacl mime types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: After (hopefully) last rebase. Created 7 years, 6 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 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 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:
11 # scons --mode=nacl ppapi_bad 11 # scons --mode=nacl ppapi_bad
12 # Automatic testing: 12 # Automatic testing:
13 # scons run_ppapi_bad_browser_test 13 # scons run_ppapi_bad_browser_test
14 # 14 #
15 15
16 Import('env') 16 Import('env')
17 17
18 # TODO(robertm): those should not be necessary once we go -std=c99 18 # TODO(robertm): those should not be necessary once we go -std=c99
19 env.FilterOut(CFLAGS=['-pedantic']) 19 env.FilterOut(CFLAGS=['-pedantic'])
20 env.FilterOut(CCFLAGS=['-pedantic']) 20 env.FilterOut(CCFLAGS=['-pedantic'])
21 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + 21 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' +
22 'bad') 22 'bad')
23 23
24 ppapi_bad_files = [ 24 ppapi_bad_files = [
25 'ppapi_bad.html', 25 'ppapi_bad.html',
26 'ppapi_bad.js', 26 'ppapi_bad.js',
27 'ppapi_bad_crossorigin.nmf', 27 'ppapi_bad_crossorigin.nmf',
28 'ppapi_bad_doesnotexist.nmf', 28 'ppapi_bad_doesnotexist.nmf',
29 'ppapi_bad_doesnotexist_nexe_only.nmf',
30 'ppapi_bad_magic.nmf', 29 'ppapi_bad_magic.nmf',
31 'ppapi_bad_manifest_uses_nexes.nmf', 30 'ppapi_bad_manifest_uses_nexes.nmf',
32 'ppapi_bad_manifest_bad_files.nmf', 31 'ppapi_bad_manifest_bad_files.nmf',
33 'ppapi_bad_manifest_nexe_arch.nmf', 32 'ppapi_bad_manifest_nexe_arch.nmf',
34 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js') 33 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js')
35 ] 34 ]
36 ppapi_bad = env.Replicate('${STAGING_DIR}', ppapi_bad_files) 35 ppapi_bad = env.Replicate('${STAGING_DIR}', ppapi_bad_files)
37 36
38 nmf_names = [] 37 nmf_names = []
39 # Compile all nexes embedded into the above html 38 # Compile all nexes embedded into the above html
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 files=ppapi_bad_native_files, 122 files=ppapi_bad_native_files,
124 nacl_exe_stderr={ 123 nacl_exe_stderr={
125 'file': '${TARGET_ROOT}/test_results/ppapi_bad_native_test.log', 124 'file': '${TARGET_ROOT}/test_results/ppapi_bad_native_test.log',
126 'golden': '${TEST_DIR}/ppapi_bad_native_glibc.stderr'} 125 'golden': '${TEST_DIR}/ppapi_bad_native_glibc.stderr'}
127 ) 126 )
128 127
129 env.AddNodeToTestSuite(node, 128 env.AddNodeToTestSuite(node,
130 ['chrome_browser_tests'], 129 ['chrome_browser_tests'],
131 'run_ppapi_bad_native_test', 130 'run_ppapi_bad_native_test',
132 is_broken=env.PPAPIBrowserTesterIsBroken()) 131 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698