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

Side by Side Diff: tests/plugin_async_messaging/nacl.scons

Issue 7242011: Get rid of assumptions about ".nexe" extension. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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
« no previous file with comments | « tests/nullptr/nacl.scons ('k') | tests/ppapi_browser/bad/nacl.scons » ('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) 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 Import('env') 6 Import('env')
7 7
8 dest_copy = env.Replicate('${STAGING_DIR}', 'async_messaging.html') 8 dest_copy = env.Replicate('${STAGING_DIR}', 'async_messaging.html')
9 env.Replicate('${STAGING_DIR}', 9 env.Replicate('${STAGING_DIR}',
10 '${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js') 10 '${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js')
11 async_nexe_name = 'async_message_test_%s.nexe' % env.get('TARGET_FULLARCH') 11 async_nexe_name = 'async_message_test_%s' % env.get('TARGET_FULLARCH')
12 test_files = [ 12 test_files = [
13 env.File('${STAGING_DIR}/nacltest.js'), 13 env.File('${STAGING_DIR}/nacltest.js'),
14 env.File('${STAGING_DIR}/' + async_nexe_name), 14 env.File('${STAGING_DIR}/%s${PROGSUFFIX}' % async_nexe_name),
15 ] 15 ]
16 # These are not true dependencies: They are not needed for the .html 16 # These are not true dependencies: They are not needed for the .html
17 # file to be replicated to "staging", but they are needed for the 17 # file to be replicated to "staging", but they are needed for the
18 # .html file to work when run. 18 # .html file to work when run.
19 # TODO(mseaborn): Similar logic is duplicated in 19 # TODO(mseaborn): Similar logic is duplicated in
20 # tests/inbrowser_test_runner/nacl.scons. Reduce the duplication. 20 # tests/inbrowser_test_runner/nacl.scons. Reduce the duplication.
21 env.Depends(dest_copy, test_files) 21 env.Depends(dest_copy, test_files)
22 env.Alias('async_messaging.html', dest_copy) 22 env.Alias('async_messaging.html', dest_copy)
23 23
24 node = env.PPAPIBrowserTester( 24 node = env.PPAPIBrowserTester(
25 'async_messaging_chrome_browser_test.out', 25 'async_messaging_chrome_browser_test.out',
26 url='async_messaging.html', 26 url='async_messaging.html',
27 files=[env.File('async_messaging.html'), 27 files=[env.File('async_messaging.html'),
28 env.File('async_message_test.nmf')] + test_files, 28 env.File('async_message_test.nmf')] + test_files,
29 args=['--enable_experimental_js']) 29 args=['--enable_experimental_js'])
30 30
31 env.AddNodeToTestSuite(node, 31 env.AddNodeToTestSuite(node,
32 ['chrome_browser_tests'], 32 ['chrome_browser_tests'],
33 'run_async_messaging_test', 33 'run_async_messaging_test',
34 is_broken=env.PPAPIBrowserTesterIsBroken()) 34 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« no previous file with comments | « tests/nullptr/nacl.scons ('k') | tests/ppapi_browser/bad/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698