Skip to content

Commit

Permalink
* common.mk: test-sample was changed to test-basic.
Browse files Browse the repository at this point in the history
  [Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.
* defs/gmake.mk: picked from r53540
* sample/test.rb: backword compatibility for chkbuild.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
hsbt committed Jan 16, 2016
1 parent f69d6c4 commit 203e604
Show file tree
Hide file tree
Showing 6 changed files with 2,394 additions and 2,381 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Sat Jan 16 10:31:00 2016 SHIBATA Hiroshi <hsbt@ruby-lang.org>

* common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.
* defs/gmake.mk: picked from r53540
* sample/test.rb: backword compatibility for chkbuild.

Sat Jan 16 10:23:23 2016 Martin Duerst <duerst@it.aoyama.ac.jp>

* string.c, enc/unicode.c: New code path as a preparation for Unicode-wide
Expand Down
4 changes: 2 additions & 2 deletions tool/rubytest.rb → basictest/runner.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
error = ''

srcdir = File.expand_path('..', File.dirname(__FILE__))
`#{ruby} #{opt} #{srcdir}/sample/test.rb #{ARGV.join(' ')}`.each_line do |line|
`#{ruby} #{opt} #{srcdir}/basictest/test.rb #{ARGV.join(' ')}`.each_line do |line|
if line =~ /^end of test/
print "\ntest succeeded\n"
exit true
end
error << line if %r:^(sample/test.rb|not): =~ line
error << line if %r:^(basictest/test.rb|not): =~ line
end
puts
print error
Expand Down
Loading

0 comments on commit 203e604

Please sign in to comment.