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

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

Issue 9696046: Add test running support for tests generated as pexes. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: suggestions Created 8 years, 9 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
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 # NOTE: the arm emulator does not handle atomic ops properly 8 # NOTE: the arm emulator does not handle atomic ops properly
9 # NOTE: the default setting of 10k rounds is too slow on ARM 9 # NOTE: the default setting of 10k rounds is too slow on ARM
10 EXTRA_ARGS = ['100'] 10 EXTRA_ARGS = ['100']
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 env.AddNodeToTestSuite(node, ['small_tests'], 'run_second_tls_create_test') 177 env.AddNodeToTestSuite(node, ['small_tests'], 'run_second_tls_create_test')
178 178
179 # This test should, in principle, be flaky, because of race conditions 179 # This test should, in principle, be flaky, because of race conditions
180 # in NaCl's thread exit/join. See: 180 # in NaCl's thread exit/join. See:
181 # http://code.google.com/p/nativeclient/issues/detail?id=1027 (trusted stacks) 181 # http://code.google.com/p/nativeclient/issues/detail?id=1027 (trusted stacks)
182 # http://code.google.com/p/nativeclient/issues/detail?id=1028 (newlib) 182 # http://code.google.com/p/nativeclient/issues/detail?id=1028 (newlib)
183 # http://code.google.com/p/nativeclient/issues/detail?id=2136 (TLS indexes) 183 # http://code.google.com/p/nativeclient/issues/detail?id=2136 (TLS indexes)
184 # If we find this test fails in practice, it should be disabled until 184 # If we find this test fails in practice, it should be disabled until
185 # the races are fixed. 185 # the races are fixed.
186 node = env.CommandSelLdrTestNacl('many_threads_sequential_test.out', 186 node = env.CommandSelLdrTestNacl('many_threads_sequential_test.out',
187 [many_threads_sequential_nexe]) 187 many_threads_sequential_nexe)
188 env.AddNodeToTestSuite(node, 188 env.AddNodeToTestSuite(node,
189 ['small_tests'], 189 ['small_tests'],
190 'run_many_threads_sequential_test', 190 'run_many_threads_sequential_test',
191 is_broken=arm_qemu) 191 is_broken=arm_qemu)
192 192
193 mutex_leak_nexe = env.ComponentProgram('mutex_leak', ['mutex_leak.c'], 193 mutex_leak_nexe = env.ComponentProgram('mutex_leak', ['mutex_leak.c'],
194 EXTRA_LIBS=['${PTHREAD_LIBS}', 194 EXTRA_LIBS=['${PTHREAD_LIBS}',
195 '${NONIRT_LIBS}']) 195 '${NONIRT_LIBS}'])
196 196
197 node = env.CommandSelLdrTestNacl('mutex_leak.out', mutex_leak_nexe) 197 node = env.CommandSelLdrTestNacl('mutex_leak.out', mutex_leak_nexe)
198 env.AddNodeToTestSuite(node, ['small_tests'], 'run_mutex_leak_test') 198 env.AddNodeToTestSuite(node, ['small_tests'], 'run_mutex_leak_test')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698