| 2906 | #ifdef USE_TEST |
| 2907 | |
| 2908 | void check_str(const char *msg, int num, const int *in_buf, int in_len, |
| 2909 | const int *buf1, int len1, |
| 2910 | const int *buf2, int len2) |
| 2911 | { |
| 2912 | if (len1 != len2 || tabcmp(buf1, buf2, len1) != 0) { |
| 2913 | printf("%d: ERROR %s:\n", num, msg); |
| 2914 | dump_str(" in", in_buf, in_len); |
| 2915 | dump_str("res", buf1, len1); |
| 2916 | dump_str("ref", buf2, len2); |
| 2917 | exit(1); |
| 2918 | } |
| 2919 | } |
| 2920 | |
| 2921 | void check_cc_table(void) |
| 2922 | { |
no test coverage detected