Граф коммитов

42 Коммитов

Автор SHA1 Сообщение Дата
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
akr 333454e4dd * bootstraptest/runner.rb (assert_check): don't call newtest.
(assert_equal): call newtest.
  (assert_match): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-14 16:06:44 +00:00
akr b235e8f474 * bootstraptest/runner.rb (assert_check): new method.
(assert_match): new method.
  (assert_equal): use assert_check.
  (pretty): give failure description as an argument.

* bootstraptest/test_exception.rb: use assert_match to describe the
  test for [ruby-dev:31407].  [ruby-dev:31412]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-14 12:48:12 +00:00
ko1 2829c72cce * bootstraptest/runner.rb (assert_equal): add additional
message parameter.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06 05:36:14 +00:00
nobu 4beb119393 * bootstraptest/runner.rb (get_result_string): check $?.coredump?
first.

* bootstraptest/runner.rb (cleanup_coredump, check_coredump): see
  stackdump file too.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-20 00:50:42 +00:00
akr f880de86ed fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-07 17:33:57 +00:00
ko1 616f4d3385 * bootstraptest/runner.rb: fix load path.
* common.mk: fix "test" rule to run with "btest".
* rubytest.rb, sample/test.rb: fix to show tests progress.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-06 09:23:53 +00:00
nobu 7990a473eb * bootstraptest/runner.rb: added --quiet option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-06 05:50:42 +00:00
ko1 c1849cf094 * bootstraptest/runner.rb: fix to untouch $:.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-27 17:14:10 +00:00
ko1 caa535286d * bootstraptest/runner.rb: fix to show file name.
* bootstraptest/test_*.rb: add bootstarp tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-27 16:26:31 +00:00
ko1 3aa45744ab * bootstraptest/runner.rb: set default directory to
'/tmp/bootstraptest.tmpwd' and add --dir option.
  fix to output driver and target information.
* common.mk: fix to run btest on BASERUBY and
  add OPTS to pass option ("make btest OPTS=...").



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-24 06:52:59 +00:00
aamine 565bcdcb30 * bootstraptest/runner.rb: show source code in error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-25 02:10:38 +00:00
aamine 9c9b619799 * bootstraptest/runner.rb: add lib/ to load path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-25 01:28:14 +00:00
aamine 793c649f65 * bootstraptest/runner.rb: new option -v,--verbose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 10:28:36 +00:00
aamine 45c7ead6ae * bootstraptest/runner.rb: fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 07:53:14 +00:00
aamine d7c2f391fc * bootstraptest/runner.rb: new option --help.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 07:51:52 +00:00
aamine 18e1d27353 * bootstraptest: new test suite.
* bootstraptest/runner.rb: new file.
* bootstraptest/test_literal.rb: new file.
* bootstraptest/test_method.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 07:47:53 +00:00