OLD | NEW |
1 /* $Id: leb128_test.c 1892 2007-07-13 20:56:28Z peter $ | 1 /* |
2 * | 2 * |
3 * Copyright (C) 2005-2007 Peter Johnson | 3 * Copyright (C) 2005-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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 nf += fail; | 190 nf += fail; |
191 } | 191 } |
192 | 192 |
193 yasm_intnum_cleanup(); | 193 yasm_intnum_cleanup(); |
194 | 194 |
195 printf(" +%d-%d/%d %d%%\n%s", | 195 printf(" +%d-%d/%d %d%%\n%s", |
196 numtests*2-nf, nf, numtests*2, 100*(numtests*2-nf)/(numtests*2), | 196 numtests*2-nf, nf, numtests*2, 100*(numtests*2-nf)/(numtests*2), |
197 failed); | 197 failed); |
198 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; | 198 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; |
199 } | 199 } |
OLD | NEW |