Researching for Automated Testing of C Compiler
Shi Jin · Jisuanji fangzhen · 2003
It is the main idea of this paper that to design a random algorithm to generate the test case at random. The random algorithm resolved the problem of the test case generated automaticaly covering with all the point of testing instead of the method of enumerating all things, on the other hand, it prevent the disadvantage brought by the subjectivity of the engineers from the testing. In order to verify the result of testing, this paper import a reference compiler which has been used maturely, and made the reference compiler run the test case at the same environment with the object compiler. Then, it can conduct the testing conclusion through comparing the two sets of result got from the object compiler and the reference compiler.