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

Side by Side Diff: experimental/c_salt/test.scons

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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
« no previous file with comments | « experimental/c_salt/scripting_interface_ptrs.h ('k') | experimental/c_salt/variant.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python
2 #
3 # Copyright (c) 2010 The Ginsu Project Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 """ Build file for tests of c_salt code
8 """
9
10 import os
11 import sys
12
13 Import('env')
14
15 sel_ldr = os.path.join(env['NACL_TOOLCHAIN_ROOT'], 'bin', 'sel_ldr')
16 if not os.path.exists(sel_ldr):
17 sys.stderr.write('sel_ldr is not installed as part of the NaCl toolchain.\n')
18 sys.exit(1)
19
20 small_test_inputs = ['c_salt_test_module.cc',
21 'callback_test.cc',
22 'notification_test.cc',
23 'notification_center_test.cc',
24 'npapi/variant_converter_test.cc',
25 'variant_test.cc',
26 ]
27
28 env.ComponentTestProgram(
29 'small_c_salt_test',
30 small_test_inputs,
31 COMPONENT_TEST_CMDLINE = '%s $PROGRAM_NAME' % sel_ldr,
32 COMPONENT_TEST_SIZE = 'small'
33 )
34
35 # Note, we can't use the default test environment libraries, because gtest
36 # injects a main() function that makes the nexe not work as a plugin module.
37 integration_test_input_libs = [
38 'google_nacl_imc',
39 'google_nacl_npruntime',
40 'pthread',
41 'srpc',
42 'c_salt',
43 'google_nacl_pgl',
44 'google_nacl_gpu',
45 ]
46 integration_test_inputs = ['integration_tests/fake_instance.cc',
47 'integration_tests/method_tester.cc',
48 'integration_tests/property_tester.cc',
49 'integration_tests/test_module.cc',
50 ]
51 integration_test_app = [
52 'integration_tests/c_salt_tests.html',
53 ]
54
55 install_integration_test_app = env.Install('$STAGING_DIR',
56 integration_test_app)
57 # TODO(dmichael): Is there an appropriate test type for this, instead of
58 # making the target a ComponentProgram?
59 integration_test = env.ComponentProgram(
60 'c_salt_integration_test_x86_32.nexe',
61 integration_test_inputs,
62 LIBS = integration_test_input_libs,
63 )
64 env.Depends(integration_test, install_integration_test_app)
OLDNEW
« no previous file with comments | « experimental/c_salt/scripting_interface_ptrs.h ('k') | experimental/c_salt/variant.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698