Skip to content

Commit 03800da

Browse files
author
Nicolas Laurent
committed
un-exclude test files that couldn't parse, and retag them
1 parent 68fba50 commit 03800da

File tree

7 files changed

+49
-21
lines changed

7 files changed

+49
-21
lines changed

src/main/java/org/truffleruby/core/range/RangeNodes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ protected DynamicObject toA(DynamicObject range) {
386386
}
387387
}
388388

389-
@Specialization(guards = { "isObjectRange(range)", "!isEndlessRange(getContext(), range)" })
389+
@Specialization(guards = { "isObjectRange(range)", "!isEndlessRange(getContext(), range)" })
390390
protected Object boundedToA(VirtualFrame frame, DynamicObject range) {
391391
if (toAInternalCall == null) {
392392
CompilerDirectives.transferToInterpreterAndInvalidate();
@@ -396,7 +396,7 @@ protected Object boundedToA(VirtualFrame frame, DynamicObject range) {
396396
return toAInternalCall.call(range, "to_a_internal");
397397
}
398398

399-
@Specialization(guards = { "isObjectRange(range)", "isEndlessRange(getContext(), range)" })
399+
@Specialization(guards = { "isObjectRange(range)", "isEndlessRange(getContext(), range)" })
400400
protected Object endlessToA(VirtualFrame frame, DynamicObject range) {
401401
throw new RaiseException(getContext(), coreExceptions().rangeError(
402402
"cannot convert endless range to an array",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
exclude :test_allocate, "needs investigation"
2+
exclude :test_hash, "needs investigation"
3+
exclude :test_new, "needs investigation"
4+
exclude :test_range_step_inspect, "needs investigation"
5+
exclude :test_range_step_size, "needs investigation"
6+
exclude :test_begin, "needs investigation"
7+
exclude :test_complex, "needs investigation"
8+
exclude :test_end, "needs investigation"
9+
exclude :test_eq, "needs investigation"
10+
exclude :test_eql_p, "needs investigation"
11+
exclude :test_eqq, "needs investigation"
12+
exclude :test_exclude_end_p, "needs investigation"
13+
exclude :test_last, "needs investigation"
14+
exclude :test_last_with_float, "needs investigation"
15+
exclude :test_last_with_rational, "needs investigation"
16+
exclude :test_next, "needs investigation"
17+
exclude :test_next_bug15444, "needs investigation"
18+
exclude :test_num_step_inspect, "needs investigation"
19+
exclude :test_step, "needs investigation"
20+
exclude :test_sum, "needs investigation"
21+
exclude :test_to_a, "needs investigation"
22+
exclude :test_to_a_bug15444, "needs investigation"

test/mri/excludes/TestArray.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
exclude :test_OR, "needs investigation"
22
exclude :test_ary_new, "needs investigation"
33
exclude :test_aset_error, "needs investigation"
4+
exclude :test_bsearch_typechecks_return_values, "needs investigation"
45
exclude :test_combination_clear, "needs investigation"
6+
exclude :test_count, "needs investigation"
7+
exclude :test_initialize, "needs investigation"
8+
exclude :test_insert, "needs investigation"
9+
exclude :test_join2, "needs investigation"
510
exclude :test_permutation_stack_error, "needs investigation"
611
exclude :test_product2, "needs investigation"
712
exclude :test_repeated_combination_stack_error, "needs investigation"
@@ -16,21 +21,18 @@
1621
exclude :test_sum, "needs investigation"
1722
exclude :test_times, "needs investigation"
1823
exclude :test_to_ary, "needs investigation"
24+
exclude :test_union, "needs investigation"
1925
exclude :test_uniq_bang_with_freeze, "needs investigation"
2026
exclude :test_zip, "needs investigation"
27+
exclude :test_0_literal, "needs investigation"
28+
exclude :test_AREF, "needs investigation"
2129
exclude :test_combination_with_callcc, "needs investigation"
22-
exclude :test_concat, "needs investigation"
30+
exclude :test_fill_0, "needs investigation"
2331
exclude :test_flatten_respond_to_missing, "needs investigation"
2432
exclude :test_flatten_with_callcc, "needs investigation"
2533
exclude :test_permutation_with_callcc, "needs investigation"
2634
exclude :test_product_with_callcc, "needs investigation"
2735
exclude :test_reject_with_callcc, "needs investigation"
2836
exclude :test_repeated_combination_with_callcc, "needs investigation"
2937
exclude :test_repeated_permutation_with_callcc, "needs investigation"
30-
exclude :test_shared_marking, "needs investigation"
3138
exclude :test_sort_with_callcc, "needs investigation"
32-
exclude :test_bsearch_typechecks_return_values, "needs investigation"
33-
exclude :test_count, "needs investigation"
34-
exclude :test_initialize, "needs investigation"
35-
exclude :test_insert, "needs investigation"
36-
exclude :test_join2, "needs investigation"

test/mri/excludes/TestArray/TestResize.rb

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/mri/excludes/TestRand.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@
2727
exclude :test_random_range, "needs investigation"
2828
exclude :test_random_ulong_limited_no_rand, "needs investigation"
2929
exclude :test_types, "needs investigation"
30+
exclude :test_urandom, "needs investigation"

test/mri/excludes/TestRange.rb

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
1-
exclude :test_beg_len, "needs investigation"
21
exclude :test_bsearch_for_other_numerics, "needs investigation"
32
exclude :test_bsearch_typechecks_return_values, "needs investigation"
4-
exclude :test_bsearch_with_mathn, "needs investigation"
53
exclude :test_eqq_time, "needs investigation"
64
exclude :test_frozen_initialize, "needs investigation"
75
exclude :test_initialize_twice, "needs investigation"
6+
exclude :test_inspect, "needs investigation"
7+
exclude :test_max, "needs investigation"
88
exclude :test_range_bsearch_for_floats, "needs investigation"
9-
exclude :test_range_numeric_string, "needs investigation"
9+
exclude :test_beg_len, "needs investigation"
10+
exclude :test_bsearch_for_bignum, "needs investigation"
11+
exclude :test_bsearch_for_fixnum, "needs investigation"
1012
exclude :test_bsearch_for_float, "needs investigation"
1113
exclude :test_comparison_when_recursive, "needs investigation"
14+
exclude :test_cover, "needs investigation"
1215
exclude :test_cyclic_range_inspect, "needs investigation"
1316
exclude :test_duckrange, "needs investigation"
1417
exclude :test_each, "needs investigation"
15-
exclude :test_each_no_blockarg, "needs investigation"
16-
exclude :test_max, "needs investigation"
18+
exclude :test_eqq, "needs investigation"
19+
exclude :test_eqq_non_iteratable, "needs investigation"
20+
exclude :test_first_last, "needs investigation"
21+
exclude :test_include, "needs investigation"
1722
exclude :test_min, "needs investigation"
23+
exclude :test_percent_step, "needs investigation"
24+
exclude :test_range_numeric_string, "needs investigation"
25+
exclude :test_range_string, "needs investigation"
26+
exclude :test_size, "needs investigation"
27+
exclude :test_step, "needs investigation"

test/mri/failing.exclude

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ win32ole/test_word.rb
3636

3737
# Failing since upgrade to 2.6.1
3838

39-
matrix/test_matrix.rb # open range
40-
matrix/test_vector.rb # open range
41-
ruby/test_arithmetic_sequence.rb # open range
42-
ruby/test_array.rb # open range
43-
ruby/test_rand.rb # open range
44-
ruby/test_range.rb # open range
4539
ruby/test_rubyoptions.rb # uses RubyVM
4640
test_pp.rb # uses RubyVM
4741
ruby/test_time_tz.rb

0 commit comments

Comments
 (0)