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

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

Issue 10796092: More changes to fix pnacl nmf issue when rolling DEPS. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | ppapi/native_client/tests/ppapi_browser/ppb_audio/ppapi_ppb_audio.nmf » ('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) 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 # This test uses ppapi_test_lib. 6 # This test uses ppapi_test_lib.
7 7
8 Import('env') 8 Import('env')
9 9
10 env.Prepend(CPPDEFINES=['XP_UNIX']) 10 env.Prepend(CPPDEFINES=['XP_UNIX'])
11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/'
Mark Seaborn 2012/07/23 18:23:27 You can remove this since it's no longer used now
12 'ppb_audio') 12 'ppb_audio')
13 13
14 nexe = env.ProgramNameForNmf('ppapi_ppb_audio') 14 nexe = env.ProgramNameForNmf('ppapi_ppb_audio')
15 env.Alias('ppapi_ppb_audio${PROGSUFFIX}', 15 env.Alias('ppapi_ppb_audio${PROGSUFFIX}',
16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) 16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
17 17
18 ppapi_ppb_audio_nexe = env.ComponentProgram( 18 ppapi_ppb_audio_nexe = env.ComponentProgram(
19 nexe, 19 nexe,
20 [ 'ppapi_ppb_audio.cc' ], 20 [ 'ppapi_ppb_audio.cc' ],
21 EXTRA_LIBS=['${PPAPI_LIBS}', 21 EXTRA_LIBS=['${PPAPI_LIBS}',
22 'ppapi_test_lib', 22 'ppapi_test_lib',
23 'platform', # for CHECK 23 'platform', # for CHECK
24 'pthread', 24 'pthread',
25 'gio', 25 'gio',
26 ]) 26 ])
27 27
28 dest_copy = env.Publish(nexe, 'run', 28 dest_copy = env.Publish(nexe, 'run',
29 ['ppapi_ppb_audio.html', 29 ['ppapi_ppb_audio.html',
30 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' 30 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
31 'browserdata/nacltest.js') 31 'browserdata/nacltest.js')
32 ]) 32 ])
33 33
34 node = env.PPAPIBrowserTester('ppapi_ppb_audio_browser_test.out', 34 node = env.PPAPIBrowserTester('ppapi_ppb_audio_browser_test.out',
35 url='ppapi_ppb_audio.html', 35 url='ppapi_ppb_audio.html',
36 nmfs=['${TEST_DIR}/ppapi_ppb_audio.nmf'], 36 nmf_names=['ppapi_ppb_audio'],
37 files=[ ppapi_ppb_audio_nexe, 37 files=[ ppapi_ppb_audio_nexe,
38 env.File('ppapi_ppb_audio.html')], 38 env.File('ppapi_ppb_audio.html')],
39 browser_flags=['--enable-pepper-testing']) 39 browser_flags=['--enable-pepper-testing'])
40 40
41 # Though this tests passes locally, it does not pass on the Windows 41 # Though this tests passes locally, it does not pass on the Windows
42 # and Linux buildbots, which do not have audio devices. Although 42 # and Linux buildbots, which do not have audio devices. Although
43 # StartPlayback() and StopPlayback() succeed, the audio callback is 43 # StartPlayback() and StopPlayback() succeed, the audio callback is
44 # not called. However, this does work on the Mac buildbots. 44 # not called. However, this does work on the Mac buildbots.
45 is_broken = env.PPAPIBrowserTesterIsBroken() or not env.Bit('host_mac') 45 is_broken = env.PPAPIBrowserTesterIsBroken() or not env.Bit('host_mac')
46 env.AddNodeToTestSuite(node, 46 env.AddNodeToTestSuite(node,
47 ['chrome_browser_tests'], 47 ['chrome_browser_tests'],
48 'run_ppapi_ppb_audio_browser_test', 48 'run_ppapi_ppb_audio_browser_test',
49 is_broken=is_broken) 49 is_broken=is_broken)
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/tests/ppapi_browser/ppb_audio/ppapi_ppb_audio.nmf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698