Lines Matching refs:test_name

350 fpstack_test (const char *test_name)  in fpstack_test()  argument
363 test_name, sw, old_stack); in fpstack_test()
446 test_single_exception (const char *test_name, in test_single_exception() argument
458 printf ("Pass: %s: Exception \"%s\" set\n", test_name, flag_name); in test_single_exception()
465 test_name, flag_name); in test_single_exception()
475 test_name, flag_name); in test_single_exception()
480 printf ("%s: Exception \"%s\" not set\n", test_name, in test_single_exception()
493 test_exceptions (const char *test_name, int exception) in test_exceptions() argument
500 test_single_exception (test_name, exception, in test_exceptions()
506 test_single_exception (test_name, exception, in test_exceptions()
512 test_single_exception (test_name, exception, OVERFLOW_EXCEPTION, in test_exceptions()
522 test_single_exception (test_name, exception, UNDERFLOW_EXCEPTION, in test_exceptions()
529 test_single_exception (test_name, exception, INEXACT_EXCEPTION, in test_exceptions()
539 test_single_errno (const char *test_name, int errno_value, in test_single_errno() argument
545 printf ("Pass: %s: errno set to %d (%s)\n", test_name, errno_value, in test_single_errno()
553 test_name, errno_value, expected_value, expected_name); in test_single_errno()
560 test_errno (const char *test_name, int errno_value, int exceptions) in test_errno() argument
566 test_single_errno (test_name, errno_value, 0, "unchanged"); in test_errno()
568 test_single_errno (test_name, errno_value, EDOM, "EDOM"); in test_errno()
570 test_single_errno (test_name, errno_value, ERANGE, "ERANGE"); in test_errno()
613 check_float_internal (const char *test_name, FLOAT computed, FLOAT expected, in check_float_internal() argument
623 test_exceptions (test_name, exceptions); in check_float_internal()
624 test_errno (test_name, errno_value, exceptions); in check_float_internal()
700 printf ("Test: %s\n", test_name); in check_float_internal()
722 fpstack_test (test_name); in check_float_internal()
729 check_float (const char *test_name, FLOAT computed, FLOAT expected, in check_float() argument
732 check_float_internal (test_name, computed, expected, in check_float()
738 check_complex (const char *test_name, CFLOAT computed, in check_complex() argument
745 if (asprintf (&str, "Real part of: %s", test_name) == -1) in check_complex()
755 if (asprintf (&str, "Imaginary part of: %s", test_name) == -1) in check_complex()
774 check_int (const char *test_name, int computed, int expected, in check_int() argument
780 test_exceptions (test_name, exceptions); in check_int()
781 test_errno (test_name, errno_value, exceptions); in check_int()
792 printf ("Test: %s\n", test_name); in check_int()
800 fpstack_test (test_name); in check_int()
808 check_long (const char *test_name, long int computed, long int expected, in check_long() argument
814 test_exceptions (test_name, exceptions); in check_long()
815 test_errno (test_name, errno_value, exceptions); in check_long()
826 printf ("Test: %s\n", test_name); in check_long()
834 fpstack_test (test_name); in check_long()
842 check_bool (const char *test_name, int computed, int expected, in check_bool() argument
848 test_exceptions (test_name, exceptions); in check_bool()
849 test_errno (test_name, errno_value, exceptions); in check_bool()
860 printf ("Test: %s\n", test_name); in check_bool()
868 fpstack_test (test_name); in check_bool()
876 check_longlong (const char *test_name, long long int computed, in check_longlong() argument
883 test_exceptions (test_name, exceptions); in check_longlong()
884 test_errno (test_name, errno_value, exceptions); in check_longlong()
895 printf ("Test: %s\n", test_name); in check_longlong()
903 fpstack_test (test_name); in check_longlong()
911 check_intmax_t (const char *test_name, intmax_t computed, in check_intmax_t() argument
917 test_exceptions (test_name, exceptions); in check_intmax_t()
918 test_errno (test_name, errno_value, exceptions); in check_intmax_t()
929 printf ("Test: %s\n", test_name); in check_intmax_t()
937 fpstack_test (test_name); in check_intmax_t()
945 check_uintmax_t (const char *test_name, uintmax_t computed, in check_uintmax_t() argument
951 test_exceptions (test_name, exceptions); in check_uintmax_t()
952 test_errno (test_name, errno_value, exceptions); in check_uintmax_t()
963 printf ("Test: %s\n", test_name); in check_uintmax_t()
971 fpstack_test (test_name); in check_uintmax_t()