nobu
bd407329df
test: tty option
...
* bootstraptest/runner.rb (main): add --tty option to output like
terminal, for mingw/mswin on cygwin.
* lib/test/unit.rb (Test::Unit::Options#setup_options): ditto.
* sample/test.rb (Progress#initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 00:59:19 +00:00
nobu
cccd464e4d
runner.rb: colorize
...
* bootstraptest/runner.rb (exec_test): colorize final messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 00:59:16 +00:00
nobu
9f7717e836
* bootstraptest/runner.rb (exec_test): break lines if not tty.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-12 07:06:49 +00:00
yugui
6efba755da
Fix failures on btest for NativeClient.
...
* bootstraptest/runner.rb (nacl?): New method to distinguish NaCl
corss build.
* bootstraptest/test_io.rb: Skip unsupported operations.
* bootstraptest/test_literal.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-03 15:39:15 +00:00
nobu
e6c5b9f308
revert r37326 "remove string literal concatenation"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-25 14:06:31 +00:00
nobu
db1f7079b6
remove string literal concatenation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-25 10:07:22 +00:00
nobu
5425128e2b
bootstraptest: fix missing bs
...
* bootstraptest/runner.rb (show_progress): fix missing bs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 08:18:23 +00:00
nobu
6b801ac9f8
bootstraptest: refine error output
...
* bootstraptest/runner.rb (show_progress): refine error output. do not
count non-empty error message, but just warn.
* bootstraptest/runner.rb (error): show errors immediately if tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 06:15:00 +00:00
naruse
31f3a2e780
bootstrap/runner.rb must be run with Ruby 1.8.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-04 11:23:13 +00:00
nobu
91a254fd08
bootstraptest: no stderr output
...
* bootstraptest/runner.rb (assert_check): capture stderr and ensure
nothing is output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 21:19:52 +00:00
nobu
5605afa5e2
test: reduce output if succeded
...
* bootstraptest/runner.rb (exec_test): reduce output if succeded.
* sample/test.rb (PROGRESS.finish): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-26 07:46:26 +00:00
nobu
3fb38c6178
bootstraptest: ignore -j
...
* bootstraptest/runner.rb (main): ignore -j option for compatibility
with test/unit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-15 22:12:30 +00:00
nobu
19b4b7de3b
test: TEST_COLORS
...
* bootstraptest/runner.rb (main): fixed typo.
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): ditto.
* sample/test.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-15 01:38:32 +00:00
nobu
0243943aad
test: TEST_COLORS
...
* bootstraptest/runner.rb (main): customize colors by dircolors-like
style environment variable TEST_COLORS.
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): ditto.
* sample/test.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-15 00:56:39 +00:00
nobu
65672e63f5
test: unknown --color argument
...
* bootstraptest/runner.rb (main): warn unknown --color argument.
* sample/test.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-15 00:56:36 +00:00
nobu
a8ddde3b78
test: help message
...
* bootstraptest/runner.rb (main): add --color option to the help
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-15 00:56:33 +00:00
nobu
82aa43407c
win32: VT100 escape
...
* win32/win32.c (constat_apply): apply VT100 functions.
[ruby-core:44958] [Feature #6418 ]
* win32/win32.c (constat_parse): parse some VT100 escape sequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-04 06:39:40 +00:00
nobu
2f76e6d34c
color option
...
* bootstraptest/runner.rb, sample/test.rb: add --color option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-30 01:24:08 +00:00
nobu
779922622b
tests: customizable colors
...
* bootstraptest/runner.rb, lib/test/unit.rb, sample/test.rb:
customizable colors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-08 00:25:47 +00:00
nobu
a6003269b6
bootstraptest/runner.rb: refine output
...
* bootstraptest/runner.rb (exec_test, show_progress): show rotators
and pass/fail counts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-07 18:53:42 +00:00
kosaki
5c29d116c2
* bootstraptest/runner.rb: don't suppress SIGINT.
...
[Feature #5612 ] [ruby-dev:44856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-12 04:37:54 +00:00
akr
7d6fe4e604
* bootstraptest/runner.rb (show_progress): refine verbose mode.
...
(exec_test): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 14:17:42 +00:00
akr
92c0438049
* bootstraptest/runner.rb (show_progress): extracted from assert_check.
...
(assert_check): use show_progress.
(assert_normal_exit): ditto.
(assert_finish): ditto.
(flunk): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 14:07:02 +00:00
eban
10bf738bee
* bootstraptest/runner.rb: should initilize $stress to avoid warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 09:07:26 +00:00
akr
24421c835d
* bootstraptest/runner.rb (assert_normal_exit): add :timeout option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 12:27:34 +00:00
akr
dd4537ad99
* bootstraptest/runner.rb: sort test files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-07 14:09:43 +00:00
akr
7c2d363bae
* bootstraptest/runner.rb (main): "usage" description updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-23 06:24:33 +00:00
akr
0ebb7c1c9b
* bootstraptest/runner.rb (Dir.mktmpdir): updated to latest.
...
(in_temporary_working_directory): temporary directory name changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-23 06:15:00 +00:00
nobu
9997227af8
* bootstraptest/runner.rb: forgot shebang line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03 07:20:14 +00:00
nobu
8b0fef3747
* bootstraptest/runner.rb: got rid of using /bin/sh.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03 06:35:38 +00:00
nobu
59e5d0f177
* bootstraptest/runner.rb: made executable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-02 12:06:31 +00:00
knu
fd2b650d06
* bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 06:27:47 +00:00
akr
c77f323088
* bootstraptest/runner.rb: refine success message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 12:57:17 +00:00
nobu
f3fcd2e4a0
* io.c (rb_io_wait_readable, rb_io_wait_writable): check if the file
...
descriptor is closed.
* thread.c (rb_thread_wait_fd_rw): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-11 11:51:39 +00:00
akr
2dc5f35a3a
* bootstraptest/runner.rb (assert_normal_exit): hide stderr output
...
when success.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-11 03:16:28 +00:00
nobu
589a164abc
* bootstraptest/runner.rb (main): leave -I options for purelib.rb
...
untouched.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-11 13:54:04 +00:00
nobu
b7a1480540
* bootstraptest/runner.rb (main): handle relative path -r options.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-11 13:39:35 +00:00
naruse
a10ded3ba0
* bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,
...
instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
test/ruby/test_stringchar.rb: fixes arround String#gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 06:28:23 +00:00
naruse
7b83d04514
* bootstraptest/runner.rb: fix -I../../hoge case.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-30 02:59:59 +00:00
nobu
c8272db179
* bootstraptest/runner.rb (assert_valid_syntax): added.
...
* bootstraptest/test_knownbug.rb: added test for [ruby-list:44479]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 17:02:30 +00:00
matz
7d8c42297e
* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
...
* bootstraptest/runner.rb (main): expand -I directory path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 14:32:46 +00:00
ko1
0c801d657a
* bootstraptest/runner.rb: add "flunk" method.
...
* bootstraptest/test_knownbug.rb: fix to use flunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 09:45:46 +00:00
akr
ef1d280a4c
* bootstraptest/runner.rb (assert_not_match): new method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-05 07:43:34 +00:00
akr
e5a15da799
* bootstraptest/runner.rb (assert_normal_exit): use `` instead of
...
system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 06:30:39 +00:00
akr
adf5c69f29
* bootstraptest/runner.rb (pretty): don't show beginning empty line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-30 02:52:55 +00:00
akr
d537ca1f84
* bootstraptest/runner.rb (assert_normal_exit): new method.
...
* bootstraptest/test_knownbug.rb: add test for Marshal.load.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-29 03:32:57 +00:00
akr
654cdfb90b
* bootstraptest/runner.rb (assert_finish): new method.
...
* bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using
assert_finish.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26 22:40:44 +00:00
ko1
34530b1ad3
* bootstraptest/runner.rb: add a stress test (-s).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-14 07:18:23 +00:00
akr
00e6d5da69
* bootstraptest/runner.rb (in_temporary_working_directory):
...
don't remove the directory specified by --dir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 04:21:37 +00:00
akr
82a9ca296b
* bootstraptest/runner.rb (in_temporary_working_directory): use
...
Dir.mktmpdir to create and remove temporary directory.
(Dir.mktmpdir): define if not available.
[ruby-dev:31431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-17 05:41:10 +00:00