|
|
Test Strategies |
| IMAGECRAFT COMPILER TEST STRATEGIES
Ensuring the correctness of our compilers is our number one priority. We take pride in our work, and employ solid software engineering techniques to minimize the number of defects. Moreover, we license an industrial strength front end (the part of the compiler that understands the syntax and semantic of the C language), so that rarely have any C language bugs been discovered since our first product was shipped in 1994. c = a + b;for hundreds of combinations of signed and unsigned 8, 16, and 32-bit operands in the various storage classes, using values chosen to be sensitive to the kinds of bugs that might occur when dealing with 16 and 32-bit variables on 8-bit machines. These tests are done for all the integer operations. These thousands of tests are spread over a number of source files. For each file, an automated script builds the machine code, downloads it to the target system, runs it, and logs the results to a file. This approach allows large numbers of tests to be run with little operator attention even on very small target systems. We are currently (1st quarter 2004) developing a similar test suite for floating point operations. kristil@imagecraft.com | |
| [Append to This Answer] |
| ||||||||