Compiler test suite: evaluation and use in an automated test environment

A Boujarwah,K Saleh
DOI: https://doi.org/10.1016/0950-5849(94)90020-5
IF: 3.9
1994-10-01
Information and Software Technology
Abstract:Software quality is accomplished through the application of formal development techniques and the use of vigorous verification procedures throughout the software development life-cycle. Software testing is one of the life-cycle verification activities. The generation of test data is often an exhaustive task which is normally sized by a test selection strategy based on certain test coverage criteria. In the development of critical and dependable computer software such as real-time safety-critical software systems and language compilers, the verification activities consume over 50% of the project time. As compilers are large and complex programs, it is difficult to verify that the compiler implementation conforms to its (formal and semi-formal) specifications. The selection of a suitable test suite for compiler testing is a difficult problem. The test suite should cover all the features (i.e., context-free and non-context-free) of the programming language that the compiler being tested was designed for. In this paper, we describe three instrumentation-based test suite evaluation approaches that use the formal specifications of the language to evaluate the coverage of existing test suites. We also show how to use certified compiler test suites to verify automatically the validity of a compiler under test.
computer science, information systems, software engineering
What problem does this paper attempt to address?