Commit Graph

24 Commits

Author SHA1 Message Date
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