Skip to content

Commit ebb9b68

Browse files
committed
Run testing on MSVC x86 only in Debug mode
1 parent fc0667e commit ebb9b68

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/test_i128.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,8 @@ struct test_caller
11261126
test_operator_add<T>();
11271127
test_operator_sub<T>();
11281128
test_operator_mul<T>();
1129-
#ifndef _M_IX86
1129+
// See: https://github.com/cppalliance/int128/issues/147#issuecomment-2936929238
1130+
#if !defined(_M_IX86) || (defined(_M_IX86) && defined(_DEBUG))
11301131
test_operator_div<T>();
11311132
test_operator_mod<T>();
11321133
#endif
@@ -1168,7 +1169,8 @@ int main()
11681169

11691170
#endif // BOOST_INT128_HAS_MSVC_INT128
11701171

1171-
#ifndef _M_IX86
1172+
// See: https://github.com/cppalliance/int128/issues/147#issuecomment-2936929238
1173+
#if !defined(_M_IX86) || (defined(_M_IX86) && defined(_DEBUG))
11721174
// lhs % rhs == -880554185798178108
11731175
// rhs % lhs == -1184271995001643447
11741176
test_spot_mod(INT64_C(-7986186155808038790), INT64_C(-1184271995001643447));

0 commit comments

Comments
 (0)