Chromium Code Reviews| Index: tests/threads/nacl.scons |
| =================================================================== |
| --- tests/threads/nacl.scons (revision 3206) |
| +++ tests/threads/nacl.scons (working copy) |
| @@ -45,13 +45,23 @@ |
| command=[env.File('simple_thread_test.nexe')], |
| size='small', |
| ) |
| -# This test is extremely (and unpredictably) slow under Memcheck on the Karmic |
| -# buildbot because of what seems to be starvation on the critical section. |
| -# The second thread manages to acquire the CS only after ~30 seconds of |
| -# spinning. |
| -# Somehow this can not be reproduced on desktop machines. |
| env.AddNodeToTestSuite(node, TEST_SUITES, 'run_simple_thread_test') |
| +env.ComponentProgram('newlib_stdio_test.nexe', |
| + 'newlib_stdio_test.c', |
| + EXTRA_LIBS=['pthread'], |
| + ) |
| +node = env.CommandSelLdrTestNacl( |
| + 'newlib_stdio_test.out', |
| + command=[env.File('newlib_stdio_test.nexe')], |
| + stdout_golden=env.File('newlib_stdio_test.stdout.golden'), |
| + size='small', |
| + ) |
| +# This test currently fails because of a race in newlib between |
| +# __newlib_thread_init and __sinit. |
| + |
| +# env.AddNodeToTestSuite(node, TEST_SUITES, 'run_newlib_stdio_test') |
|
krasin
2010/09/07 11:25:50
This test is flaky. Sometimes it fails, sometimes
|
| + |
| env.ComponentProgram('race_test.nexe', |
| 'race_test.c', |
| EXTRA_LIBS=['pthread'], |