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

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

Issue 11543028: Allow creating a NaClAppThread without creating a new host OS thread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Review: Add NACL_WUR Created 8 years 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/minnacl/minimal_test_host.c ('k') | no next file » | 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 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 # valgrind has problems with minimal_test_guest 8 # valgrind has problems with minimal_test_guest
9 if env.IsRunningUnderValgrind(): 9 if env.IsRunningUnderValgrind():
10 Return() 10 Return()
(...skipping 13 matching lines...) Expand all
24 24
25 test_prog = env.ComponentProgram( 25 test_prog = env.ComponentProgram(
26 'minimal_test_guest', 26 'minimal_test_guest',
27 ['minimal_test_guest.c'], 27 ['minimal_test_guest.c'],
28 EXTRA_LINKFLAGS=['-nostdlib']) 28 EXTRA_LINKFLAGS=['-nostdlib'])
29 29
30 if env.ShouldTranslateToNexe(test_prog): 30 if env.ShouldTranslateToNexe(test_prog):
31 env.Replace(TRANSLATEFLAGS=['-nostdlib']) 31 env.Replace(TRANSLATEFLAGS=['-nostdlib'])
32 test_prog = env.GetTranslatedNexe(test_prog) 32 test_prog = env.GetTranslatedNexe(test_prog)
33 33
34 is_broken = not env.Bit('nacl_static_link')
35
34 node = env.CommandTest('minimal_test.out', 36 node = env.CommandTest('minimal_test.out',
35 env.AddBootstrap(runner, [test_prog]), 37 env.AddBootstrap(runner, [test_prog]),
36 stdout_golden=env.File('minimal_test.stdout')) 38 stdout_golden=env.File('minimal_test.stdout'))
37 env.AddNodeToTestSuite(node, ['small_tests'], 'run_minnacl_test', 39 env.AddNodeToTestSuite(node, ['small_tests'], 'run_minnacl_test',
38 is_broken=not env.Bit('nacl_static_link')) 40 is_broken=is_broken)
41
42 node = env.CommandTest('minimal_test_separate_thread.out',
43 env.AddBootstrap(runner,
44 ['--use_separate_thread', test_prog]),
45 stdout_golden=env.File('minimal_test.stdout'))
46 env.AddNodeToTestSuite(node, ['small_tests'],
47 'run_minnacl_separate_thread_test',
48 is_broken=is_broken)
OLDNEW
« no previous file with comments | « tests/minnacl/minimal_test_host.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698