Home // International Journal On Advances in Software, volume 5, numbers 1 and 2, 2012 // View article


Testing of an automatically generated compiler, Review of retargetable testing system

Authors:
Ludek Dolihal
Tomas Hruska
Karel Masarik

Keywords: Porting of a library, C library, compiler testing, simulation, hardware/software codesign, Codasip.

Abstract:
for testing automatically generated C compiler for embedded systems on simulator, it is necessary to have corresponding support in the simulator itself. Testing programs written in C very often use I/O operations. This functionality can not be achieved without support of the C library. Hence the simulator must provide the interface for calling the functions of the operation system it runs on. In this paper, we provide a method that enables running of programs, which use functions from the standard C library. After the implementation of this approach we are able to use the function provided by the C library with limitations given by the hardware. Moreover we add the overview of the testing system, which is used in our project. The system allows testing hardware and also software part of the project.

Pages: 15 to 26

Copyright: Copyright (c) to authors, 2012. Used with permission.

Publication date: June 30, 2012

Published in: journal

ISSN: 1942-2628