diff options
Diffstat (limited to 'bootstraptest/runner.rb')
-rwxr-xr-x | bootstraptest/runner.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 2cd91ffd07..b155db18aa 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -271,6 +271,14 @@ ensure end end +def target_platform + if @ruby + `#{@ruby} --disable-gems -e 'print RUBY_PLATFORM'` + else + RUBY_PLATFORM + end +end + def show_limit(testsrc, opt = '', **argh) result = get_result_string(testsrc, opt, **argh) if @tty and @verbose |