OLD | NEW |
1 /* $Id: uncstring_test.c 1892 2007-07-13 20:56:28Z peter $ | 1 /* |
2 * | 2 * |
3 * Copyright (C) 2006-2007 Peter Johnson | 3 * Copyright (C) 2006-2007 Peter Johnson |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
11 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 sprintf(failed, "%s ** F: %s\n", failed, failmsg); | 147 sprintf(failed, "%s ** F: %s\n", failed, failmsg); |
148 nf += fail; | 148 nf += fail; |
149 } | 149 } |
150 | 150 |
151 printf(" +%d-%d/%d %d%%\n%s", | 151 printf(" +%d-%d/%d %d%%\n%s", |
152 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed); | 152 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed); |
153 | 153 |
154 yasm_errwarn_cleanup(); | 154 yasm_errwarn_cleanup(); |
155 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; | 155 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; |
156 } | 156 } |
OLD | NEW |