Skip to content

Commit 04cc11c

Browse files
committed
Revert "Workaround for mmtk/mmtk-core#654 (#22)"
This reverts commit de7fb26. The upstream fixed the printing issue in: mmtk/mmtk-core#655
1 parent de7fb26 commit 04cc11c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bootstraptest/runner.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,7 @@ def get_result_string(opt = '', **argh)
469469
kw = self.err ? {err: self.err} : {}
470470
out = IO.popen("#{BT.ruby} -W0 #{opt} #{filename}", **kw)
471471
pid = out.pid
472-
result = out.read.tap{ Process.waitpid(pid); out.close }
473-
# https://github.com/mmtk/mmtk-core/issues/654
474-
result.gsub! /Warning: User attempted a collection request, but it is not supported in NoGC. The request is ignored.\n/, ''
475-
result
472+
out.read.tap{ Process.waitpid(pid); out.close }
476473
ensure
477474
raise Interrupt if $? and $?.signaled? && $?.termsig == Signal.list["INT"]
478475

0 commit comments

Comments
 (0)