URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
[/] [openrisc/] [trunk/] [gnu-src/] [doc/] [testing.txt] - Diff between revs 549 and 550
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 549 |
Rev 550 |
Line 73... |
Line 73... |
The or32-linux-sim.exp script in the boards directory sets various
|
The or32-linux-sim.exp script in the boards directory sets various
|
parameters, which may need adjusting. In particular it specifies the absolute
|
parameters, which may need adjusting. In particular it specifies the absolute
|
location of the C and C++ compilers and gives timeouts for command execution
|
location of the C and C++ compilers and gives timeouts for command execution
|
(1200 seconds) and FTP upload/download (both 120 seconds).
|
(1200 seconds) and FTP upload/download (both 120 seconds).
|
|
|
|
|
run-all-tests.sh
|
run-all-tests.sh
|
================
|
================
|
|
|
Check the function "set_globals" to ensure that the various files and
|
Check the function "set_globals" to ensure that the various files and
|
directories are correct.
|
directories are correct.
|
Line 100... |
Line 101... |
Having set up ip-avail.txt, the script is then run as:
|
Having set up ip-avail.txt, the script is then run as:
|
|
|
./run-all-tests.sh
|
./run-all-tests.sh
|
|
|
|
|
|
Diagnostics
|
|
===========
|
|
|
|
To increase the diagnostic output, find the "runtest" command in
|
|
run-all-tests.sh and add "-v" to its options (for even more output add "-v -v"
|
|
or even "-v -v -v").
|
|
|
|
Note this is useful for debugging the test scripts rather than actual tests
|
|
themselves.
|
|
|
|
|
Supplementary Scripts
|
Supplementary Scripts
|
=====================
|
=====================
|
|
|
run-all-tests.sh leaves each tests results in its own log and summary
|
run-all-tests.sh leaves each tests results in its own log and summary
|
files. The script check-results.sh collates all the results. For example
|
files. The script check-results.sh collates all the results. For example
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.