diff options
author | Stephan Broyles <sbroyles@us.ibm.com> | 2014-11-05 19:09:37 -0600 |
---|---|---|
committer | Stephan Broyles <sbroyles@us.ibm.com> | 2014-11-05 19:22:32 -0600 |
commit | 9976c207cdb20871880bd2f4cf123cf4cb6a8b0f (patch) | |
tree | 1cf9ed8f23085e6fe3e0e6046fc30dcb7e02ccf2 /src/occ/tools/occ_autotest_extend.example | |
parent | 2f8ce357b89d361b5091d88aea91416011b73ccb (diff) | |
download | talos-occ-9976c207cdb20871880bd2f4cf123cf4cb6a8b0f.tar.gz talos-occ-9976c207cdb20871880bd2f4cf123cf4cb6a8b0f.zip |
Added remaining occ files.
Change-Id: I91a748d3dcf3161a6a3eedcb376fcaf1e4dfe655
Diffstat (limited to 'src/occ/tools/occ_autotest_extend.example')
-rw-r--r-- | src/occ/tools/occ_autotest_extend.example | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/occ/tools/occ_autotest_extend.example b/src/occ/tools/occ_autotest_extend.example new file mode 100644 index 0000000..0da932c --- /dev/null +++ b/src/occ/tools/occ_autotest_extend.example @@ -0,0 +1,46 @@ +############################################################################## +# +# Example OCC Autotest Extension File +# +# Purpose of these scripts are to extend the OCC Autotest without making +# one gigantic script. +# +# RULES +# ------------------------------------- +# These scripts will only execute if they are specified on the cli, and if they +# are marked execuable (chmod a+x) +# +# If a directory is specified on the cli, the scripts in that directory will be +# run in the order that occurs during `find . -xtype f -perm -001 | sort` +# +# This file is run as a bash script, so you can do anything that bash can do. +# That includes calling external programs, file operations, sleep, echo, etc. +# +# Anything that you can do in the autotest you *could* do here, but to keep it +# simple, here are some thing that are most useful, and probably what you should +# stick to. +# +# Variables Available: +# $sb: All Sandbox / Environment variable are available +# $MACHINE: Machine Type Simics is simulating +# $ENABLE_VPM: Did caller request VPM to start +# +# Functions Available: +# Send a simics command +# simicsCmd "command" +# +# Send a fsp command (once FSP is up...) +# fspCmd "command" : +# +# Run a test applet +# runTestApplet "path/to/applet" +# +# Send OCC a command from the FSP (fake out FSP if it's not there) +# simicsFspToOccCmd "command" [data] [datafile] +# Example: simicsFspToOccCmd "00" "01" # Send a Poll Command +# +# Happy Scripting! +# +############################################################################## + + |