1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

7 commits

Author SHA1 Message Date
nobu
e67e930462 * lib/test/unit/autorunner.rb: remove dependency to a particular
runner.  [ruby-core:01901], [ruby-list:38869]

* lib/test/unit/ui/testrunnerutilities.rb: moved output level
  constants from Console.

* lib/test/unit/ui/console/testrunner.rb: ditto.

* lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize):
  accept output_level.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-08 13:48:14 +00:00
nobu
086745b7d6 * bin/testrb: new test runner. [ruby-core:01845]
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner.run,
  Test::Unit::AutoRunner#initialize): take test list to run.

* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::RUNNERS,
  Test::Unit::AutoRunner#run): should not exit inside a library, just
  return the result instead.

* lib/test/unit.rb: ditto.

* test/runner.rb: exit with the test result.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-02 12:31:44 +00:00
nobu
99fb5f4871 * eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true as
success, false as failure.  [ruby-dev:22067]

* eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use
  ANSI macro instead of hard coded value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-27 15:34:53 +00:00
nobu
7f58e0ba4f * lib/test/unit/ui/tk/testrunner.rb,
lib/test/unit/ui/gtk/testrunner.rb:
  run GUI main loop in sub thread.

* lib/test/unit/ui/gtk2/testrunner.rb: imported from rough.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17 00:23:40 +00:00
ntalbott
4bbe175499 * lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handle
the case when the requested font is not available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 14:57:15 +00:00
nobu
9983e4645e * lib/test/unit/ui/gtk/testrunner.rb: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 08:05:24 +00:00
ntalbott
04f2b8f7bf Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-12 03:12:14 +00:00