1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
naruse 979ec8df5d * lib/benchmark.rb: fix benchmarck to work with current ruby.
patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143]
  merged from https://github.com/eregon/ruby/commits/benchmark

*  lib/benchmark (Report#width): update documentation
*  lib/benchmark: document the return value of #benchmark and the
   :list attribute in Report
*  lib/benchmark (Tms#format): rename variables, use String#%
   instead of Kernel.format
*  lib/benchmark: remove undocumented Benchmark::times (an alias
   of Process::times used twice)
*  lib/benchmark (#benchmark): use label_width for the caption
*  lib/benchmark (Tms#initialize): rename variables
*  lib/benchmark: allow title to not be a String and call #to_s
*  lib/benchmark (Benchmark#bm): return an Array of the times with
   the labels
*  lib/benchmark: correct output for Benchmark#bmbm
   (remove the extra space)
*  lib/benchmark: add a few tests for Benchmark::Tms output
*  lib/benchmark: improve style (enumerators, ljust, unused vars)
*  lib/benchmark: add spec about output and return value
*  lib/benchmark: improve basic style and consistency
   no parenthesis for print and use interpolation instead of printf
*  lib/benchmark: remove unnecessary conversions and variables
*  lib/benchmark: correct indentation
*  lib/benchmark: rename the FMTSTR constant and variable to FORMAT
*  lib/benchmark: remove useless exception

*  test/benchmark: remove unused variable warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31 16:11:06 +00:00
..
-ext- * string.c (rb_str_ellipsize): new function to ellipsize a string. 2011-01-30 04:01:58 +00:00
base64
benchmark * lib/benchmark.rb: fix benchmarck to work with current ruby. 2011-01-31 16:11:06 +00:00
bigdecimal
cgi
coverage
csv * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00
date
dbm
digest * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00
dl * test/dl/test_dl2.rb (TestDL#test_sin): math functions do not 2011-01-30 07:15:23 +00:00
drb
erb
etc
fiddle * test/fiddle/test_fiddle.rb: Don't run test if the system don't support 2011-01-23 13:20:58 +00:00
fileutils
gdbm * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create, 2011-01-28 14:23:04 +00:00
iconv
io * test/io/console/test_io_console.rb: Don't run test if the system 2011-01-23 14:03:24 +00:00
irb
json
logger
matrix
minitest
mkmf * configure.in (warnflags): add -Werror=implicit-function-declaration 2011-01-15 02:57:36 +00:00
monitor
net * test/net/smtp/test_ssl_socket.rb: fix dependency. 2011-01-15 03:01:19 +00:00
nkf
objspace
open-uri
openssl * ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case. 2011-01-29 18:48:24 +00:00
optparse
ostruct
pathname
psych reverting r30628 since this seems like a bug in libyaml 2011-01-22 22:43:41 +00:00
rake Deprecate Rake::RDocTask in favor of RDoc::Task 2010-12-28 22:22:58 +00:00
rdoc * test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files): 2011-01-05 05:06:44 +00:00
readline
resolv
rexml * test/rexml/test_contrib.rb (ContribTester#test_pos): should not 2010-12-20 21:25:49 +00:00
rinda
ripper * parse.y (stmt): missing ripper rule. i.e., `a::B ||= c 1'. 2010-12-26 02:39:14 +00:00
rss
ruby Add ML Reference and a test for r30736 [ruby-core:34997] 2011-01-30 21:00:04 +00:00
rubygems * test/rubygems/test_gem_security.rb (TestGemSecurity): valid only 2011-01-30 07:40:31 +00:00
scanf
sdbm
socket
stringio * ext/stringio/stringio.c (get_strio, strio_set_string) 2011-01-05 20:14:43 +00:00
strscan
syck
testunit
thread
uri
webrick * test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need 2011-01-20 02:41:09 +00:00
win32ole
xmlrpc
zlib * ext/zlib/zlib.c (gzreader_gets): support optional length 2010-12-25 02:02:55 +00:00
inlinetest.rb
profile_test_all.rb
runner.rb
test_cmath.rb
test_delegate.rb
test_find.rb
test_ipaddr.rb
test_mathn.rb
test_mutex_m.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_set.rb
test_shellwords.rb
test_singleton.rb
test_syslog.rb * test/test_syslog.rb: Fix to make a lot of test failure if 2011-01-22 15:46:11 +00:00
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tracer.rb Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix 2011-01-14 02:02:12 +00:00
test_tsort.rb
with_different_ofs.rb * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00