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

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

Issue 10823316: Debug stub: Enable tests on x86-32 Windows (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rerun try 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
« no previous file with comments | « no previous file | tests/gdb/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 2012 The Native Client Authors. All rights reserved. 2 # Copyright 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can 3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file. 4 # be found in the LICENSE file.
5 5
6 Import('env') 6 Import('env')
7 7
8 if not env.AllowInlineAssembly(): 8 if not env.AllowInlineAssembly():
9 Return() 9 Return()
10 10
11 test_prog = env.ComponentProgram( 11 test_prog = env.ComponentProgram(
12 'debugger_test', 'debugger_test.c', 12 'debugger_test', 'debugger_test.c',
13 EXTRA_LIBS=['${PTHREAD_LIBS}', '${NONIRT_LIBS}']) 13 EXTRA_LIBS=['${PTHREAD_LIBS}', '${NONIRT_LIBS}'])
14 14
15 sel_ldr_command = env.AddBootstrap(env.GetSelLdr(), ['-f', test_prog]) 15 sel_ldr_command = env.AddBootstrap(env.GetSelLdr(), ['-f', test_prog])
16 16
17 is_broken = (not env.Bit('nacl_static_link') 17 is_broken = not env.Bit('nacl_static_link') or env.Bit('asan')
18 or env.Bit('asan')
19 or (env.Bit('host_windows') and env.Bit('build_x86_32')))
20 extra_test_args = [] 18 extra_test_args = []
21 if env.Bit('host_mac'): 19 if env.Bit('host_mac'):
22 # Resuming from a breakpoint does not yet work on Mac, so we run 20 # Resuming from a breakpoint does not yet work on Mac, so we run
23 # just the single test that works. 21 # just the single test that works.
24 extra_test_args.append('DebugStubTest.test_initial_breakpoint') 22 extra_test_args.append('DebugStubTest.test_initial_breakpoint')
25 # "-a" has the side effect of disabling the Mac outer sandbox, which 23 # "-a" has the side effect of disabling the Mac outer sandbox, which
26 # does not yet work with the debug stub because the debug stub does 24 # does not yet work with the debug stub because the debug stub does
27 # bind() after the outer sandbox has been enabled. 25 # bind() after the outer sandbox has been enabled.
28 # TODO(mseaborn): Clean up the debug stub's initialisation so that 26 # TODO(mseaborn): Clean up the debug stub's initialisation so that
29 # this workaround is not needed. 27 # this workaround is not needed.
(...skipping 16 matching lines...) Expand all
46 + ['--', env.get('TARGET_FULLARCH'), nm_tool] + sel_ldr_command)) 44 + ['--', env.get('TARGET_FULLARCH'), nm_tool] + sel_ldr_command))
47 # This test is in "large_tests" because it binds a fixed TCP port and 45 # This test is in "large_tests" because it binds a fixed TCP port and
48 # so will not coexist gracefully with other instances of the same test 46 # so will not coexist gracefully with other instances of the same test
49 # or other processes that dynamically allocate TCP ports. 47 # or other processes that dynamically allocate TCP ports.
50 # TODO(mseaborn): Eliminate the TCP port binding by using a socketpair 48 # TODO(mseaborn): Eliminate the TCP port binding by using a socketpair
51 # instead and move this into small_tests + pexe_tests. Adding this to 49 # instead and move this into small_tests + pexe_tests. Adding this to
52 # nonpexe_tests (which uses -j currently) will enable this test for 50 # nonpexe_tests (which uses -j currently) will enable this test for
53 # ARM. 51 # ARM.
54 env.AddNodeToTestSuite(node, ['large_tests'], 'run_debug_stub_test', 52 env.AddNodeToTestSuite(node, ['large_tests'], 'run_debug_stub_test',
55 is_broken=is_broken) 53 is_broken=is_broken)
OLDNEW
« no previous file with comments | « no previous file | tests/gdb/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698