nobu
62fc67b27b
test_minitest_unit.rb: invoke by array form
...
* test/minitest/test_minitest_unit.rb (test_capture_subprocess_io):
invoke by array form. quoting is not portable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 13:53:25 +00:00
akr
1e2374f1e9
* test/lib/minitest/spec.rb: Unused file removed.
...
* test/lib/minitest/autorun.rb: Don't require minitest/spec.
* test/lib/minitest/benchmark.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 10:20:41 +00:00
akr
36f3ee6dc8
* test/lib/minitest/unit.rb (parallelize_me!): Removed.
...
This fixes the line-by-line structure of the test result in verbose
mode. [ruby-core:54905]
* test/lib/minitest/parallel_each.rb: Removed.
* test/minitest/test_minitest_mock.rb: Don't call parallelize_me!.
* test/minitest/test_minitest_spec.rb: Ditto.
* test/minitest/test_minitest_unit.rb: Ditto.
Tests for parallel feature removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 07:09:29 +00:00
akr
bdf98fc627
* test/lib/minitest: Remove comments not appropriate now.
...
* test/minitest: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 06:01:51 +00:00
ko1
78d7aa8ae3
revert r44133. See https://bugs.ruby-lang.org/issues/8886 details
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-11 07:41:14 +00:00
ko1
a4cbd6412a
* eval.c (rb_raise_jump): pop frame after setup exception.
...
Patches by deivid (David Rodriguez). [Bug #8886 ]
* test/minitest/test_minitest_unit.rb: catch up this change.
* test/ruby/test_backtrace.rb: ditto.
* test/ruby/test_settracefunc.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-11 03:39:52 +00:00
ryan
c816f90e76
Imported minitest 4.7.5 (r8724)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-22 00:20:05 +00:00
ryan
8daa0d49cf
Fixed minitest dependency bug by removing env PARALLEL checks (no clue why that was there). Exactly the same minitest code tho.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-10 00:55:03 +00:00
naruse
149f8f17ef
Fix rondom failure introduced by r40553
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-02 06:30:56 +00:00
ryan
f8e5c7c79e
Imported minitest 4.7.4 (r8483)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-02 04:48:43 +00:00
xibbar
9b3d6ad13a
* test/minitest/test_*.rb: use require_relative to require local library
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 14:37:24 +00:00
ryan
2dc5e62545
Imported minitest 4.3.2 (r8027)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 22:02:36 +00:00
naruse
d81b5a4ffb
* test/minitest/test_minitest_unit.rb: restore orig_verbose only
...
if it is set. This broke rdoc's tests.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20121129T050102Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 06:19:05 +00:00
ryan
81eb635f8c
Imported minitest 4.3.2 (r8026)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 03:23:11 +00:00
ryan
a3980eb2b6
Imported minitest 3.4.0 (r7762)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-05 23:24:58 +00:00
ryan
17dde49326
Imported minitest 3.3.0 (r7676)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-21 00:39:57 +00:00
ryan
9696b3eb16
Imported minitest 3.2.0 (r7598). Reviewed by drbrain
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-11 23:52:04 +00:00
nobu
989f5a1e6f
test/minitest: Correct requiring path to metametameta.rb.
...
* test/minitest/test_minitest_mock.rb: Correct requiring path to
metametameta.rb.
* test/minitest/test_minitest_unit.rb: Correct requiring path to
metametameta.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-10 01:55:38 +00:00
ryan
a213c2ed9c
Imported minitest 3.0.0 (r7435) w/ fixes for rubygems. 10955 tests, 2253343 assertions, 1 failures, 1 errors, 28 skips minus drb tests on x86_64-darwin11.3.0 and reviewed by drbrain
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-09 04:09:25 +00:00
usa
844ddfdd0d
* test/minitest/metametameta.rb (MetaMetaMetaTestCase#assert_report):
...
support drive letter on Windows. yes, the original code is metameta.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-08 02:23:15 +00:00
naruse
49331ddec7
* lib/minitest/unit.rb (assert_match): refix of r35563.
...
r35563 breaks the intention of the original change.
68858105b2
* lib/minitest/unit.rb (refute_match): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-07 17:49:53 +00:00
naruse
40f1939614
Correct requiring path to metametameta.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-07 17:49:48 +00:00
ryan
6af843b9cb
Imported minitest 2.12.1 (r7323)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-04 21:46:01 +00:00
ryan
d6c86e631d
Imported minitest 2.8.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-17 23:02:16 +00:00
ryan
9bec8ef50c
Imported minitest 2.6.2 (r6712)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-19 20:34:21 +00:00
ryan
4c66fc0890
Imported minitest 2.5.1 (r6596)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-27 20:30:57 +00:00
ryan
2c43b9664b
Imported minitest 2.5.0 (r6557)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-23 21:47:25 +00:00
ryan
9b3e7967ab
Imported minitest 2.2.2 (r6281)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 22:34:09 +00:00
ryan
e4b16eff50
MOSTLY Imported minitest 2.2.1 (r6277)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 05:12:55 +00:00
nobu
3a47cf3395
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
ryan
4f00a27fb5
lib/minitest/*.rb: Imported minitest 2.0.2 r6207
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-19 20:44:08 +00:00
ryan
d264d3cc38
Imported minitest 2.0.0 r5952. Fixed test/unit.rb to work with changes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-01 05:33:32 +00:00
naruse
54fd6de064
Revert r29986: "Imported minitest 2.0.0 r5952"
...
This breaks test-all:
* two test-all errors (test_run_passing and test_run_failing_filtered).
* -v option to test-all is ignored
Additional to say, please describe summary of the change when you
import from external repository.
And, RUN test-all BEFORE COMMIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-01 01:12:31 +00:00
ryan
3632f4cf1c
Imported minitest 2.0.0 r5952
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-30 22:45:53 +00:00
ryan
4c6551b7d3
Imported minitest 1.7.2 r5879.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 21:27:19 +00:00
ryan
ee9e8f82d4
Imported minitest 1.7.1 r5835
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-01 08:40:53 +00:00
ryan
1392791a9e
Imported minitest 1.6.0 r5717.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 01:37:07 +00:00
ryan
06925a0952
Imported minitest 1.5.0 r5596
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-06 22:58:07 +00:00
ryan
58cfb41d2a
Imported minitest 1.4.0 r5083.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-18 07:31:39 +00:00
nobu
0596555042
* test/minitest/test_mini_test.rb: fixed tests depending on the
...
detail of floating point representation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-15 03:34:18 +00:00
ryan
7bcd50555b
Imported minitest 1.3.1 r4532.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-20 23:26:55 +00:00
ryan
70365e5deb
Imported minitest 1.3.1 r4506.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-30 09:26:27 +00:00
ryan
1cbf898172
Imported minitest 1.3.1 r4505.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27 20:51:23 +00:00
ryan
ac6024f522
Imported minitest 1.3.2 r4503.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-13 00:22:31 +00:00
yugui
1a863754fa
* test/minitest/test_mini_test.rb
...
(test_assert_raises_triggered_different): the test failed when a
file path in the backtrace contontains something except [\w\/\.],
e.g. hyphen, Japanese characters or backslash.
* test/minitest/test_mini_test.rb
(test_assert_raises_triggered_subclass): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-27 06:43:13 +00:00
yugui
a1cef99541
* test/minitest/test_mini_test.rb: fixed that r19958 made
...
test-all fail when the ruby was built at $(srcdir).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-27 06:34:23 +00:00
yugui
afea4a4995
* test/minitest/test_mini_test.rb (test_filter_backtrace):
...
fixed failure on Ruby built at out of $(srcdir).
* test/minitest/test_mini_test.rb (test_Filter_backtrace_unit_starts):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-27 02:39:17 +00:00
ryan
17358af75b
Imported minitest 1.3.0 r4429. Fixes issues reported by akira and nobu
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 22:38:09 +00:00
ryan
7ebbb3871e
Added minitest 1.3.0
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-10 01:18:03 +00:00