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

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

Issue 10868029: Inlining PPAPI_LIBS as its now the same everywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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:
(...skipping 28 matching lines...) Expand all
39 for kind in [ 'ppp_initialize', 'ppp_initialize_crash', 39 for kind in [ 'ppp_initialize', 'ppp_initialize_crash',
40 'no_ppp_instance', 'get_ppp_instance_crash', 40 'no_ppp_instance', 'get_ppp_instance_crash',
41 'get_ppp_messaging_crash', 'get_ppp_printing_crash', 41 'get_ppp_messaging_crash', 'get_ppp_printing_crash',
42 'ppp_instance_didcreate', 'ppp_instance_didcreate_crash', 42 'ppp_instance_didcreate', 'ppp_instance_didcreate_crash',
43 'event_replay_crash' 43 'event_replay_crash'
44 ]: 44 ]:
45 bad_nmf = 'ppapi_bad_%s' % kind 45 bad_nmf = 'ppapi_bad_%s' % kind
46 bad_nexe = env.ProgramNameForNmf('ppapi_bad_%s' % kind) 46 bad_nexe = env.ProgramNameForNmf('ppapi_bad_%s' % kind)
47 env.ComponentProgram(bad_nexe, 47 env.ComponentProgram(bad_nexe,
48 ['ppapi_bad_%s.cc' % kind], 48 ['ppapi_bad_%s.cc' % kind],
49 EXTRA_LIBS=['${PPAPI_LIBS}', 49 EXTRA_LIBS=['ppapi',
50 'platform', 50 'platform',
51 'pthread', 51 'pthread',
52 'gio']) 52 'gio'])
53 nmf_names.append(bad_nmf) 53 nmf_names.append(bad_nmf)
54 ppapi_bad_files.extend(env.ExtractPublishedFiles(bad_nexe)) 54 ppapi_bad_files.extend(env.ExtractPublishedFiles(bad_nexe))
55 env.Depends(ppapi_bad, env.Alias(bad_nexe)) 55 env.Depends(ppapi_bad, env.Alias(bad_nexe))
56 56
57 # "scons --mode=nacl ppapi_bad" will publish the html and all of its 57 # "scons --mode=nacl ppapi_bad" will publish the html and all of its
58 # dependencies to scons-out. 58 # dependencies to scons-out.
59 env.Alias('ppapi_bad', ppapi_bad) 59 env.Alias('ppapi_bad', ppapi_bad)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 files=ppapi_bad_native_files, 119 files=ppapi_bad_native_files,
120 nacl_exe_stderr={ 120 nacl_exe_stderr={
121 'file': '${TARGET_ROOT}/test_results/ppapi_bad_native_test.log', 121 'file': '${TARGET_ROOT}/test_results/ppapi_bad_native_test.log',
122 'golden': '${TEST_DIR}/ppapi_bad_native_glibc.stderr'} 122 'golden': '${TEST_DIR}/ppapi_bad_native_glibc.stderr'}
123 ) 123 )
124 124
125 env.AddNodeToTestSuite(node, 125 env.AddNodeToTestSuite(node,
126 ['chrome_browser_tests'], 126 ['chrome_browser_tests'],
127 'run_ppapi_bad_native_test', 127 'run_ppapi_bad_native_test',
128 is_broken=env.PPAPIBrowserTesterIsBroken()) 128 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698