aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxx/string.cpp
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-04-08 22:38:51 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-08 22:38:51 +0300
commit69ac92ea4fd158657e0406fe9fdb36026f77e5b2 (patch)
tree9195e73521d7d2781fe6de302dc7b9df794802ea /system/lib/libcxx/string.cpp
parent350a2b08b6b19e57abc57e6ae607edae97a66fa8 (diff)
Remove '.' print in tools/js_optimizer.py on Windows. Fixes other.test_chunking on Windows.
On Windows, prints to stdout/stderr do not appear coherently synchronized per-line if multiple threads print data simultaneously to console. This caused other.test_chunking tests to fail when they receive output like emcc: step took 5.09 seconds emcc: running pre-closure post-opts emcc: running post-closure post-opts emcc: applying js optimization passes: ['eliminate', 'simplifyExpressionsPre', 'simplifyExpressionsPost', 'last'] splitting up js o. ptimization into 2 chunks of size 1048576, using 2 cores (total: 1.42 MB) emcc: step took 2.37 seconds emcc: total time: 11.75 seconds where the test looks for the string 'splitting up js optimization into' from the output. Note that the chunk processor thread has printed a single '.' in between the critical line, creating a race condition that randomly makes the test pass or fail, depending on where in the output the '.' lands in.
Diffstat (limited to 'system/lib/libcxx/string.cpp')
0 files changed, 0 insertions, 0 deletions