Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip some additional dt_arith long double tests for ppc64le systems #5071

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions test/dt_arith.c
Original file line number Diff line number Diff line change
Expand Up @@ -9220,12 +9220,66 @@ run_fp_tests(const char *name)
puts(" Test skipped due to the conversion problem on IBM ppc64le cpu.");
}
#endif /* H5_DISABLE_SOME_LDOUBLE_CONV */

#ifndef H5_DISABLE_SOME_LDOUBLE_CONV
nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_LDOUBLE, H5T_NATIVE_FLOAT_COMPLEX);
#else
{
char str[256];

snprintf(str, sizeof(str), "Testing %s special %s -> %s conversions", name, "long double",
"float _Complex");
printf("%-70s", str);
SKIPPED();
puts(" Test skipped due to the conversion problem on IBM ppc64le cpu.");
}
#endif

#ifndef H5_DISABLE_SOME_LDOUBLE_CONV
nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_LDOUBLE, H5T_NATIVE_DOUBLE_COMPLEX);
#else
{
char str[256];

snprintf(str, sizeof(str), "Testing %s special %s -> %s conversions", name, "long double",
"double _Complex");
printf("%-70s", str);
SKIPPED();
puts(" Test skipped due to the conversion problem on IBM ppc64le cpu.");
}
#endif

#ifndef H5_DISABLE_SOME_LDOUBLE_CONV
nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_LDOUBLE, H5T_NATIVE_LDOUBLE_COMPLEX);
#else
{
char str[256];

snprintf(str, sizeof(str), "Testing %s special %s -> %s conversions", name, "long double",
"long double _Complex");
printf("%-70s", str);
SKIPPED();
puts(" Test skipped due to the conversion problem on IBM ppc64le cpu.");
}
#endif

nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_FLOAT_COMPLEX, H5T_NATIVE_LDOUBLE);
nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_DOUBLE_COMPLEX, H5T_NATIVE_LDOUBLE);

#ifndef H5_DISABLE_SOME_LDOUBLE_CONV
nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_LDOUBLE_COMPLEX, H5T_NATIVE_LDOUBLE);
#else
{
char str[256];

snprintf(str, sizeof(str), "Testing %s special %s -> %s conversions", name, "long double _Complex",
"long double");
printf("%-70s", str);
SKIPPED();
puts(" Test skipped due to the conversion problem on IBM ppc64le cpu.");
}
#endif

#ifdef H5_HAVE__FLOAT16
nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_FLOAT16, H5T_NATIVE_FLOAT_COMPLEX);
nerrors += test_conv_flt_1(name, TEST_SPECIAL, H5T_NATIVE_FLOAT16, H5T_NATIVE_DOUBLE_COMPLEX);
Expand Down
Loading