summaryrefslogtreecommitdiff
path: root/bootstraptest/runner.rb
Commit message (Collapse)AuthorAgeFilesLines
* Let other test runners follow the change of GNU make 4.4 jobserverNobuyoshi Nakada2022-11-071-3/+9
|
* Indent folded bootstraptest dotsNobuyoshi Nakada2022-10-011-10/+16
|
* bootstraptest/runner: run in parallel if in parallel buildNobuyoshi Nakada2022-09-291-5/+5
|
* bootstraptest/runner: manage sub processes with the job serverNobuyoshi Nakada2022-09-281-9/+39
|
* bootstraptest/runner: fold dots by window sizeNobuyoshi Nakada2022-09-281-4/+27
|
* Fix the option name in the error message [ci skip]Nobuyoshi Nakada2022-09-191-2/+1
|
* Reuse `-v` option result as `target_platform`Nobuyoshi Nakada2022-02-171-6/+5
| | | | | | Backticks method invokes `/bin/sh` when the command contains quotes, and `sh` clears some environment variables set in runruby.rb to search the built shared library.
* btest-ruby OPTS=-v should disable quietKoichi Sasada2022-02-171-0/+2
| | | | | `make btest-ruby` is run with -q (quiet) option and -v should remove -q option.
* support concurrent btest executionKoichi Sasada2022-02-061-304/+459
| | | | | | | | | | | | | | | | | | | | | | | | * `-j` option for concurrent test with threads * `-jN` uses N threads * `-j` uses nproc/2 threads * Introduce `BT` struct to manage configurations * Introduce `Assertion` to manage all assertions * Remove all toplevel instance variables * Show elapsed seconds at last ``` $ time make btest ... real 0m37.319s user 0m26.221s sys 0m16.534s $ time make btest TESTOPTS=-j ... real 0m11.812s user 0m36.667s sys 0m21.872s ```
* refactoring btest outputKoichi Sasada2022-01-261-6/+5
| | | | | don't duplicate the message, but prepare `out` var to choose stdout/err.
* respect `--quiet` option for btestKoichi Sasada2022-01-211-8/+18
| | | | Do not print anymore except errors.
* [wasm] bootstraptest, basictest: disable backquote literal testsYuta Saito2022-01-191-0/+8
| | | | WASI doesn't support spawning a new process for now.
* Prepare for removing RubyVM::JIT (#5262)Takashi Kokubun2021-12-131-1/+1
|
* Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun2021-01-131-1/+1
| | | | | | | | because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
* Debug the command used for gdb dumpTakashi Kokubun2020-12-131-1/+3
| | | | | | It's not working http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker/3288206. I'm debugging why.
* @ruby is the target Ruby in bootstraptestTakashi Kokubun2020-12-131-1/+1
|
* Dump a backtrace with gdbTakashi Kokubun2020-12-121-0/+1
| | | | Because Ruby often fails to dump a C backtrace.
* Save a core file from bootstraptestTakashi Kokubun2020-12-101-1/+12
|
* Guard all accesses to RubyVM::MJIT with defined?(RubyVM::MJIT) &&Benoit Daloze2020-12-041-2/+2
| | | | * Otherwise those tests, etc cannot run on alternative Ruby implementations.
* display stderr output even if core dump filesKoichi Sasada2020-07-291-2/+8
| | | | | | On btest, stderr messages are not displayed if core files are generated. There is no reason to skip it, so this patch display stderr and check core files.
* Erase only on ttyNobuyoshi Nakada2019-07-291-2/+2
|
* colors file has been moved from test to toolNobuyoshi Nakada2019-07-021-1/+1
|
* bootstraptest/runner.rb (show_limit): defer messages unless verbose and a ttyNobuyoshi Nakada2019-07-011-5/+2
|
* bootstraptest/runner.rb (show_limit): show dots only when printing to a ttyNobuyoshi Nakada2019-07-011-4/+3
|
* * remove trailing spaces, expand tabs.git2019-06-191-1/+1
|
* Show thread and fiber limits as part of bootstrap tests.Samuel Williams2019-06-191-4/+17
|
* support btest on older ruby.ko12019-01-171-1/+3
| | | | | | | | | | | * bootstraptest/runner.rb (assert_normal_exit): check MJIT first to support btest with ruby ~2.5. btest (bootstraptest) should be enable to run with stable ruby interpreter because modified ruby may not able to run runner.rb and we need to know why (this is why we introduce btest). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* delete emacs mode lines [ci skip]shyouhei2018-12-271-1/+1
| | | | | | | These settings are now covered by .dir-locals.el. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner.rb: increase timeout for --jit-waitk0kubun2018-12-121-0/+1
| | | | | | | | | | because test_io.rb:33 randomly fails http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1519055 checking MJIT.enabled? on driver might not make sense for target, but as long as the CI is -DMJIT_FORCE_ENABLE, I believe it works for now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Simply treat IO::WaitReadable just like Errno::EAGAINusa2018-11-201-7/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r65820 and retry assert_finishk0kubun2018-11-201-0/+6
| | | | | | | | From: MSP-Greg <greg.mpls@gmail.com> https://github.com/ruby/ruby/commit/5187ea768f57315e61486122d688f1992d4cb21f git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner.rb: speed up assert_finish with IO.select (take #2)normal2018-07-301-2/+15
| | | | | | | Resurrect r63754 in a 1.8-compatible way. While we're at it, add a note to maintain 1.8 compatibility (cf. r63757). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rethrow the caught exception as-isnobu2018-06-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "bootstraptest/runner: speed up assert_finish by avoiding sleep"mame2018-06-271-8/+3
| | | | | | | | | | This reverts commit r63754. Many CI servers still use old ruby as base ruby which does not support read_nonblock. https://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20180627T013100Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner: speed up assert_finish by avoiding sleepnormal2018-06-261-3/+8
| | | | | | | We may use IO.select to watch for process exit. This speeds up "make test" by 2 seconds for me. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* show the location at intterruptedko12017-11-061-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Drop to support NaCl platform.hsbt2017-10-231-6/+0
| | | | | | | | | | | Because NaCl and PNaCl are already sunset status. see https://bugs.chromium.org/p/chromium/issues/detail?id=239656#c160 configure.ac: Patch for this file was provided by @nobu. [Feature #14041][ruby-core:83497][fix GH-1726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner.rb: keyword argumentnobu2017-06-211-4/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* improve C0 coverage of insns.def from 65.9% to 96.1%shyouhei2017-01-231-7/+8
| | | | | | | | | | | | | | | | | While I was developing my private topic branch I found that the VM itself is not tested very much in `make test` tests. Of course `make test-all` covers vast majority of the VM but running that task is not an immediately possible thing when we are touching the VM. In order to boost development in a rapid cycle I decided to add some tests to the bootstraptest. Here it is. * test_insns.rb: new test that covers insns.def. * runner.rb (#assert_equal): pass extra options to the target so that we can test frozen_string_literal: true situation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* `\s` includes `\t`kazu2016-10-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner.rb: first line in the sourcenobu2016-10-111-1/+1
| | | | | | | * bootstraptest/runner.rb (pretty): remove empty line at the beginning only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warningsnobu2016-08-071-0/+1
| | | | | | * basictest/runner.rb, bootstraptest/runner.rb: disable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner.rb may run on older rubynobu2016-06-281-1/+1
| | | | | | | | * bootstraptest/runner.rb: do not use safe navigation operator. this runner may run on older ruby. partially revert r53110 (GH-1142 patched by @mlarraz). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: use safe navigation operator.hsbt2015-12-141-1/+1
| | | | | | | | | | [fix GH-1142] Patch by @mlarraz * test/openssl/test_pair.rb: ditto. * test/ruby/test_econv.rb: ditto. * test/ruby/test_settracefunc.rb: ditto. * test/thread/test_queue.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* default colorsnobu2015-05-171-1/+7
| | | | | | | * bootstraptest/runner.rb, sample/test.rb, test/lib/test/unit.rb: shared the default colors from test/colors file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reset colorsnobu2015-05-171-2/+2
| | | | | | | * bootstraptest/runner.rb, sample/test.rb, test/lib/test/unit.rb: reset for each colors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove trailing white spaces.akr2014-06-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't erase for verbose mode.akr2014-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest/runner.rb: refine outputnobu2014-06-101-9/+24
| | | | | | | * bootstraptest/runner.rb (exec_test, show_progress): erase with white spaces, and adjust each results at same column. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Show the epapsed time for failed test as well.akr2014-06-081-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e