Werner Dietl
wdietl@uwaterloo.ca, Room EIT 4007
Student Project: Testing Tool for Compilers
Download: PDF.
“Testing Tool for Compilers” by Dominique Schneider. Mar. 2007. Semester project.
Abstract
This paper describes the specification and implementation of a management tool for black box compiler testing called Triops. Triops itself is implemented in Java and intended to be used for Java compilers. Triops is a enhancement of the current used test procedure for the MultiJava compiler. This implementation is based on Makefiles which handle the testcase selection, the invocation of the compiler with the testcase and finally the comparison of the output data. Besides some redundant code in the Makefiles this implementation is coupled very closely to the MultiJava compiler and doesn't allow simple reuse of testcases for other compilers. Furthermore the editing of the Makefiles which are distributed over several folders is a cumbersome and error-prone task. This paper presents a solution which allows the reuse of testcases for multiple compilers and the administration of the corresponding output data. It clearly separates the testcases from the configuration data and the involved external applications (i.e. compilers) which improves maintenance and understandability. As a side-effect of this clear separation it gets very simple to extend Triops with new ways how generated testcase output could be compared against the expected outcome. As a case study the current existing Universe Type System testcases of MultiJava will be ported to Triops.
Download: PDF.
BibTeX entry:
@unpublished{DSchneider07, author = {Dominique Schneider}, title = {{Testing Tool for Compilers}}, month = mar, note = {Semester project} }
Back to the student projects sorted by date or by category.
Copyright notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author’s copyright. In most cases, these works may not be reposted without the explicit permission of the copyright holder.
(This webpage was created with bibtex2web.)