lukeg
7717684d16
tool test/unit/testcase: rename vars @passed, @@current
...
to @__passed__, @@__current__.
@passed is redefined in a few test suites, and this could lead to bugs.
Also rename @options (Runner#options) to @__runner_options__, which is
only used in make test-tool anyway.
2023-10-26 12:39:13 +09:00
Nobuyoshi Nakada
776d4dec69
Manage parallel test workers after timeout
2023-10-18 02:55:42 +09:00
Nobuyoshi Nakada
8b520bd3fb
Add jobs
optional keyword argument
2023-10-18 02:55:42 +09:00
Takashi Kokubun
2e875549a9
s/MJIT/RJIT/
2023-03-06 23:44:01 -08:00
Takashi Kokubun
1a63468831
Prepare for removing RubyVM::JIT ( #5262 )
2021-12-13 23:07:46 -08:00
Nobuyoshi Nakada
c7eac1be51
Retry hung up tests verbosely
2021-10-17 22:40:31 +09:00
Nobuyoshi Nakada
13716898df
Retry hung tests after parallel runs
2021-10-17 16:33:58 +09:00
Nobuyoshi Nakada
5de6e25144
Replace unpack with unpack1
2021-10-17 00:48:45 +09:00
Nobuyoshi Nakada
855db8e9ce
Use __dir__
2021-10-15 19:42:39 +09:00
Hiroshi SHIBATA
d05383812a
Replace Test::Assertion and Test::Skip to Test::Unit::AssertionFailedError and Test::Unit::PendedError
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
980f61935f
Temporary pend unknown behavior of parallel tests
2021-09-11 08:48:03 +09:00
Hiroshi SHIBATA
905c04d1e6
Use Test namespace instead of MiniTest in test_parallel.rb
2021-09-11 08:48:03 +09:00
Nobuyoshi Nakada
5f2987d6c2
Fix relative paths from core_assertions.rb
2021-08-04 20:39:12 +09:00
Takashi Kokubun
e1fee7f949
Rename RubyVM::MJIT to RubyVM::JIT
...
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 ]
2021-01-13 22:46:51 -08:00
Benoit Daloze
b4ec4a41c2
Guard all accesses to RubyVM::MJIT with defined?(RubyVM::MJIT) &&
...
* Otherwise those tests, etc cannot run on alternative Ruby implementations.
2020-12-04 16:45:54 +01:00
Alan Wu
df76f2c577
Make TracePoint.stat a singleton method again ( #2726 )
...
[Bug #16399 ]
2019-12-04 21:02:21 -05:00
Yusuke Endoh
409e4ab740
tool/lib/test/unit/parallel.rb: fail explicitly when failing to get io
...
`(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined method `write' for nil:NilClass" due to lack of stdout.
This change makes it explicit. [Bug #5577 ]
2019-12-03 17:26:12 +09:00
Koichi Sasada
e2a45cb984
use builtin for TracePoint.
...
Define TracePoint in trace_point.rb and use __builtin_ syntax.
2019-11-08 09:09:29 +09:00
Koichi Sasada
9759e3c9f0
fix assertion number.
...
On parallel test, there are additional tests because of implicit
checkers which are enabled on 84cbce3d88
.
2019-10-02 17:19:14 +09:00
Hiroshi SHIBATA
c68781e918
Split test files for test-framework that are test-unit and minitest to tool direcotry.
2019-07-02 07:59:54 +09:00