Skip to content

Commit 1e5c0c5

Browse files
committed
Run MRI BigDecimal tests
1 parent 12f6a2b commit 1e5c0c5

File tree

3 files changed

+86
-3
lines changed

3 files changed

+86
-3
lines changed

test/mri/excludes/TestBigDecimal.rb

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
exclude :test_exception_overflow, "needs investigation"
2+
exclude :test_BigDecimal_with_exception_keyword, "needs investigation"
3+
exclude :test_BigDecimal_with_float, "needs investigation"
4+
exclude :test_BigDecimal_with_invalid_string, "needs investigation"
5+
exclude :test_BigDecimal_with_rational, "needs investigation"
6+
exclude :test_BigMath_exp_under_gc_stress, "needs investigation"
7+
exclude :test_BigMath_log_under_gc_stress, "needs investigation"
8+
exclude :test_BigMath_log_with_complex, "needs investigation"
9+
exclude :test_BigMath_log_with_negative_arg, "needs investigation"
10+
exclude :test_BigMath_log_with_negative_precision, "needs investigation"
11+
exclude :test_BigMath_log_with_nil, "needs investigation"
12+
exclude :test_BigMath_log_with_nil_precision, "needs investigation"
13+
exclude :test_BigMath_log_with_non_integer_precision, "needs investigation"
14+
exclude :test_BigMath_log_with_string, "needs investigation"
15+
exclude :test_BigMath_log_with_zero_arg, "needs investigation"
16+
exclude :test_BigMath_log_with_zero_precision, "needs investigation"
17+
exclude :test_add, "needs investigation"
18+
exclude :test_coerce_under_gc_stress, "needs investigation"
19+
exclude :test_ctov, "needs investigation"
20+
exclude :test_div, "needs investigation"
21+
exclude :test_dup_subclass, "needs investigation"
22+
exclude :test_exception_underflow, "needs investigation"
23+
exclude :test_exception_zerodivide, "needs investigation"
24+
exclude :test_exp_with_complex, "needs investigation"
25+
exclude :test_exp_with_negative_precision, "needs investigation"
26+
exclude :test_exp_with_zero_precision, "needs investigation"
27+
exclude :test_frozen_p, "needs investigation"
28+
exclude :test_limit, "needs investigation"
29+
exclude :test_marshal, "needs investigation"
30+
exclude :test_mode, "needs investigation"
31+
exclude :test_mult, "needs investigation"
32+
exclude :test_power, "needs investigation"
33+
exclude :test_power_with_BigDecimal, "needs investigation"
34+
exclude :test_round, "needs investigation"
35+
exclude :test_round_half_invalid_option, "needs investigation"
36+
exclude :test_round_up, "needs investigation"
37+
exclude :test_s_allocate, "needs investigation"
38+
exclude :test_s_new, "needs investigation"
39+
exclude :test_s_ver, "needs investigation"
40+
exclude :test_sqrt_5266, "needs investigation"
41+
exclude :test_sqrt_bigdecimal, "needs investigation"
42+
exclude :test_sub, "needs investigation"
43+
exclude :test_to_f, "needs investigation"
44+
exclude :test_to_special_string, "needs investigation"
45+
exclude :test_BigDecimal, "needs investigation"
46+
exclude :test_BigDecimal_with_big_decimal, "needs investigation"
47+
exclude :test_BigDecimal_with_tainted_string, "needs investigation"
48+
exclude :test_BigMath_exp, "needs investigation"
49+
exclude :test_BigMath_exp_with_fixnum, "needs investigation"
50+
exclude :test_BigMath_exp_with_float, "needs investigation"
51+
exclude :test_BigMath_exp_with_rational, "needs investigation"
52+
exclude :test_BigMath_log_with_1, "needs investigation"
53+
exclude :test_BigMath_log_with_101, "needs investigation"
54+
exclude :test_BigMath_log_with_2, "needs investigation"
55+
exclude :test_BigMath_log_with_42, "needs investigation"
56+
exclude :test_BigMath_log_with_exp_1, "needs investigation"
57+
exclude :test_BigMath_log_with_float_nan, "needs investigation"
58+
exclude :test_BigMath_log_with_high_precision_case, "needs investigation"
59+
exclude :test_BigMath_log_with_nan, "needs investigation"
60+
exclude :test_BigMath_log_with_negative_infinite, "needs investigation"
61+
exclude :test_BigMath_log_with_positive_infinite, "needs investigation"
62+
exclude :test_BigMath_log_with_reciprocal_of_42, "needs investigation"
63+
exclude :test_BigMath_log_with_square_of_E, "needs investigation"
64+
exclude :test_div_bigdecimal, "needs investigation"
65+
exclude :test_exp_with_1, "needs investigation"
66+
exclude :test_exp_with_nan, "needs investigation"
67+
exclude :test_exp_with_negative_infinite, "needs investigation"
68+
exclude :test_exp_with_positive_infinite, "needs investigation"
69+
exclude :test_power_of_finite_with_zero, "needs investigation"
70+
exclude :test_power_of_nan, "needs investigation"
71+
exclude :test_power_of_negative_infinity, "needs investigation"
72+
exclude :test_power_of_positive_infinity, "needs investigation"
73+
exclude :test_power_of_zero, "needs investigation"
74+
exclude :test_power_with_Bignum, "needs investigation"
75+
exclude :test_power_with_prec, "needs investigation"
76+
exclude :test_power_without_prec, "needs investigation"
77+
exclude :test_round_half_down, "needs investigation"
78+
exclude :test_round_half_even, "needs investigation"
79+
exclude :test_round_half_nil, "needs investigation"
80+
exclude :test_round_half_up, "needs investigation"
81+
exclude :test_save_exception_mode, "needs investigation"
82+
exclude :test_save_limit, "needs investigation"
83+
exclude :test_save_rounding_mode, "needs investigation"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
exclude :test_Float_to_d_with_precision, "needs investigation"
22
exclude :test_Float_to_d_without_precision, "needs investigation"
3+
exclude :test_Integer_to_d, "needs investigation"
4+
exclude :test_Rational_to_d, "needs investigation"
5+
exclude :test_String_to_d, "needs investigation"

test/mri/failing.exclude

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ test_extlibs.rb
6565

6666
# Other issues
6767

68-
bigdecimal/test_bigdecimal.rb
69-
bigdecimal/test_bigdecimal_util.rb
70-
bigdecimal/test_bigmath.rb
7168
cext-ruby/bignum/test_big2str.rb
7269
cext-ruby/bignum/test_bigzero.rb
7370
cext-ruby/bignum/test_div.rb

0 commit comments

Comments
 (0)