4.104.114.95
Last change
on this file since ff90595 was
001b4162,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/03/08 at 18:37:51
|
2008-09-03 Joel Sherrill <joel.sherrill@…>
- Makefile.am, configure.ac: Rework psim scripts to share code for
creating device trees and actually running the tests. Overhaul the
device tree generated to always include a block of Flash and a
Real-Time Clock. When running MP tests enable the shared memory and
semaphore devices.
- psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared,
psim-top.in, runtest-bottom, runtest-top.in: New files.
- psim, psim-gdb, runtest: Removed.
|
-
Property mode set to
100755
|
File size:
478 bytes
|
Line | |
---|
1 | # |
---|
2 | # process the options |
---|
3 | # |
---|
4 | # defaults for getopt vars |
---|
5 | # |
---|
6 | |
---|
7 | verbose="" |
---|
8 | limit="0" |
---|
9 | |
---|
10 | ## TODO: may want command line ability to turn on some psim tracing |
---|
11 | while getopts vl: OPT |
---|
12 | do |
---|
13 | case "$OPT" in |
---|
14 | v) |
---|
15 | verbose="yes";; |
---|
16 | l) |
---|
17 | limit="$OPTARG";; |
---|
18 | *) |
---|
19 | fatal;; |
---|
20 | esac |
---|
21 | done |
---|
22 | shiftcount=`expr $OPTIND - 1` |
---|
23 | shift $shiftcount |
---|
24 | |
---|
25 | args=$* |
---|
26 | |
---|
27 | if [ $# -eq 0 ] ; then |
---|
28 | fatal |
---|
29 | fi |
---|
30 | |
---|
31 | gen_device_tree ${1} >${TREE_FILE} |
---|
32 | runone ${1} ${limit} |
---|
33 | rm -f ${TREE_FILE} |
---|
34 | exit $? |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.