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

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/'
12 'ppb_audio')
13 11
14 nexe = env.ProgramNameForNmf('ppapi_ppb_audio') 12 nexe = env.ProgramNameForNmf('ppapi_ppb_audio')
15 env.Alias('ppapi_ppb_audio${PROGSUFFIX}', 13 env.Alias('ppapi_ppb_audio${PROGSUFFIX}',
16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) 14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
17 15
18 ppapi_ppb_audio_nexe = env.ComponentProgram( 16 ppapi_ppb_audio_nexe = env.ComponentProgram(
19 nexe, 17 nexe,
20 [ 'ppapi_ppb_audio.cc' ], 18 [ 'ppapi_ppb_audio.cc' ],
21 EXTRA_LIBS=['${PPAPI_LIBS}', 19 EXTRA_LIBS=['${PPAPI_LIBS}',
22 'ppapi_test_lib', 20 'ppapi_test_lib',
23 'platform', # for CHECK 21 'platform', # for CHECK
24 'pthread', 22 'pthread',
25 'gio', 23 'gio',
26 ]) 24 ])
27 25
28 dest_copy = env.Publish(nexe, 'run', 26 dest_copy = env.Publish(nexe, 'run',
29 ['ppapi_ppb_audio.html', 27 ['ppapi_ppb_audio.html',
30 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' 28 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
31 'browserdata/nacltest.js') 29 'browserdata/nacltest.js')
32 ]) 30 ])
33 31
34 node = env.PPAPIBrowserTester('ppapi_ppb_audio_browser_test.out', 32 node = env.PPAPIBrowserTester('ppapi_ppb_audio_browser_test.out',
35 url='ppapi_ppb_audio.html', 33 url='ppapi_ppb_audio.html',
36 nmfs=['${TEST_DIR}/ppapi_ppb_audio.nmf'], 34 nmf_names=['ppapi_ppb_audio'],
37 files=[ ppapi_ppb_audio_nexe, 35 files=[ ppapi_ppb_audio_nexe,
38 env.File('ppapi_ppb_audio.html')], 36 env.File('ppapi_ppb_audio.html')],
39 browser_flags=['--enable-pepper-testing']) 37 browser_flags=['--enable-pepper-testing'])
40 38
41 # Though this tests passes locally, it does not pass on the Windows 39 # Though this tests passes locally, it does not pass on the Windows
42 # and Linux buildbots, which do not have audio devices. Although 40 # and Linux buildbots, which do not have audio devices. Although
43 # StartPlayback() and StopPlayback() succeed, the audio callback is 41 # StartPlayback() and StopPlayback() succeed, the audio callback is
44 # not called. However, this does work on the Mac buildbots. 42 # not called. However, this does work on the Mac buildbots.
45 is_broken = env.PPAPIBrowserTesterIsBroken() or not env.Bit('host_mac') 43 is_broken = env.PPAPIBrowserTesterIsBroken() or not env.Bit('host_mac')
46 env.AddNodeToTestSuite(node, 44 env.AddNodeToTestSuite(node,
47 ['chrome_browser_tests'], 45 ['chrome_browser_tests'],
48 'run_ppapi_ppb_audio_browser_test', 46 'run_ppapi_ppb_audio_browser_test',
49 is_broken=is_broken) 47 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