MURAL - Maynooth University Research Archive Library



    Testing C++ Compilers for ISO Language Conformance


    Malloy, Brian A., Linde, Scott A., Duffy, Edward B. and Power, James F. (2002) Testing C++ Compilers for ISO Language Conformance. Dr. Dobbs Journal (337). pp. 71-78.

    [thumbnail of JP-c++-compilers.pdf]
    Preview
    Text
    JP-c++-compilers.pdf

    Download (1MB) | Preview

    Abstract

    In this paper, we describe our construction of a test harness to measure conformance of some popular C++ compilers and to measure the progress of the gcc C++ compiler as it moves toward ISO conformance. In an attempt to apply the same standard to all of the vendors, we use the same test cases and the same testing framework for all executions, even though some of the compilers are platform dependent and there is no common platform for all compilers. We found that the Python language provided the functionality that we needed with its scripting facility, its platform independence and its object orientation to facilitate code reuse. Python includes a testing framework as a module of the language and we have extended the framework to measure C++ ISO conformance.
    Item Type: Article
    Keywords: C++ Compilers; ISO Language Conformance; Python;
    Academic Unit: Faculty of Science and Engineering > Computer Science
    Item ID: 6445
    Depositing User: Dr. James Power
    Date Deposited: 06 Oct 2015 16:14
    Journal or Publication Title: Dr. Dobbs Journal
    Refereed: Yes
    Related URLs:
    URI: https://mural.maynoothuniversity.ie/id/eprint/6445
    Use Licence: This item is available under a Creative Commons Attribution Non Commercial Share Alike Licence (CC BY-NC-SA). Details of this licence are available here

    Repository Staff Only (login required)

    Item control page
    Item control page

    Downloads

    Downloads per month over past year

    Origin of downloads