Home | History | Annotate | Download | only in useful-harnesses

Lines Matching full:failed

259   int             j, failed = 0;
276 ++failed;
298 ++failed;
305 return failed;
311 int j, failed = 0;
327 ++failed;
348 ++failed;
355 return failed;
559 int i, j, failed = 0;
560 const char *something_failed = " %d tests failed.\n";
574 if ((failed = compare_expect_int64(int64_preds + i)) > 0) {
575 printf(something_failed, failed);
585 if ((failed = compare_expect_uint64(uint64_preds + i)) > 0) {
586 printf(something_failed, failed);
598 failed = 0;
599 failed += test_i64_sext_i32(-1, -1LL);
600 failed += test_i64_sext_i32(10, 10LL);
601 failed += test_i64_sext_i32(0x7fffffff, 0x7fffffffLL);
602 failed += test_i64_sext_i16(-1, -1LL);
603 failed += test_i64_sext_i16(10, 10LL);
604 failed += test_i64_sext_i16(0x7fff, 0x7fffLL);
605 failed += test_i64_sext_i8(-1, -1LL);
606 failed += test_i64_sext_i8(10, 10LL);
607 failed += test_i64_sext_i8(0x7f, 0x7fLL);
609 failed += test_i64_zext_i32(0xffffffff, 0x00000000ffffffffLLU);
610 failed += test_i64_zext_i32(0x01234567, 0x0000000001234567LLU);
611 failed += test_i64_zext_i16(0xffff, 0x000000000000ffffLLU);
612 failed += test_i64_zext_i16(0x569a, 0x000000000000569aLLU);
613 failed += test_i64_zext_i8(0xff, 0x00000000000000ffLLU);
614 failed += test_i64_zext_i8(0xa0, 0x00000000000000a0LLU);
616 if (failed > 0) {
617 printf(" %d tests failed.\n", failed);
624 failed = 0;
626 failed += test_i64_constant_shift("i64_shl_const", i64_shl_const, tval_a, 0x00047dc7ec114c00LL);
627 failed += test_i64_variable_shift("i64_shl", i64_shl, tval_a, 10, 0x00047dc7ec114c00LL);
628 failed += test_i64_constant_shift("i64_srl_const", i64_srl_const, tval_a, 0x0000000047dc7ec1LL);
629 failed += test_i64_variable_shift("i64_srl", i64_srl, tval_a, 10, 0x0000000047dc7ec1LL);
630 failed += test_i64_constant_shift("i64_sra_const", i64_sra_const, tval_a, 0x0000000047dc7ec1LL);
631 failed += test_i64_variable_shift("i64_sra", i64_sra, tval_a, 10, 0x0000000047dc7ec1LL);
633 if (failed > 0) {
634 printf(" %d tests ailed.\n", failed);
641 failed = 0;
643 failed += test_u64_constant_shift("u64_shl_const", u64_shl_const, tval_f, 0xfffc1d404d7ae400LL);
644 failed += test_u64_variable_shift("u64_shl", u64_shl, tval_f, 10, 0xfffc1d404d7ae400LL);
645 failed += test_u64_constant_shift("u64_srl_const", u64_srl_const, tval_f, 0x003fffffc1d404d7LL);
646 failed += test_u64_variable_shift("u64_srl", u64_srl, tval_f, 10, 0x003fffffc1d404d7LL);
647 failed += test_i64_constant_shift("i64_sra_const", i64_sra_const, tval_f, 0xffffffffc1d404d7LL);
648 failed += test_i64_variable_shift("i64_sra", i64_sra, tval_f, 10, 0xffffffffc1d404d7LL);
649 failed += test_u64_constant_shift("u64_sra_const", u64_sra_const, tval_f, 0x003fffffc1d404d7LL);
650 failed += test_u64_variable_shift("u64_sra", u64_sra, tval_f, 10, 0x003fffffc1d404d7LL);
652 if (failed > 0) {
653 printf(" %d tests ailed.\n", failed);