OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [README] - Diff between revs 82 and 90

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 82 Rev 90
Line 3... Line 3...
 
 
This is the Or1ksim test suite, which is now integrated with the main Or1ksim
This is the Or1ksim test suite, which is now integrated with the main Or1ksim
development package. It operates using a standard DejaGNU framework within the
development package. It operates using a standard DejaGNU framework within the
GNU autoconf/automake/libtool structure.
GNU autoconf/automake/libtool structure.
 
 
A separate configuration file is needed for the test suite, since it uses the
A separate configuration file is needed for the OpenRISC programs used in
OR1K tool chain, rather than the host tool chain.
testing, since these use the OR1K tool chain, rather than the host tool
 
chain. This can be found in the "test-code-or1k" directory.
 
 
At the time of writing a total of 21 tests compile run and pass.
Tests are provided for the standalone simulator (or1ksim) and for the library
 
(libsim.a).
 
 
 
At the time of writing a total of 21 tests of the standalone simulator compile
 
run and pass and 1 test of the library.
 
 
Configuration and make files are provided for further test programs. These
Configuration and make files are provided for further test programs. These
come in three categories.
come in three categories.
- Tests which compile correctly, but will not run to completion.
- Tests which compile correctly, but will not run to completion.
- Tests which compile, but will not run at all.
- Tests which compile, but will not run at all.
- Tests which will not compile correctly.
- Tests which will not compile correctly.
 
 
File Organization
File Organization
=================
=================
 
 
Each test program has its own directory under test-code. This builds the test
Each test program has its own directory under test-code (for native tests,
program. If necessary it copies data files to the main build/testsuite
typically of the library) or test-code-or1k (for OpenRISC code, which must use
directory.
the OpenRISC tool chain). This builds the test program. If necessary it copies
 
data files to the main build/testsuite directory.
Each test then has a DejaGNU expect script in or1ksim.tests, which loads and
 
runs the test. Support script procedures are in lib/or1ksim.exp.
Each test then has a DejaGNU expect script in or1ksim.tests (for standalone
 
tests) and libsim.tests (for library tests), which loads and runs the
 
test. Support script procedures are in lib/or1ksim.exp and lib/libsim.exp.
 
 
Libraries
Libraries
=========
=========
 
 
Within the test-code there are several libraries:
Within the test-code there are several libraries:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.