aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen, Gong <gong.chen@linux.intel.com>2014-04-09 03:19:04 -0400
committerChen, Gong <gong.chen@linux.intel.com>2015-01-21 21:24:00 -0500
commit3c43eef6b3627bfa7c44aaf6fb35c68a181520a9 (patch)
tree4bb492575261fa47044771e18f0fdeceea39aeb0
parenta1cb1be4bf60768b4c489872fd9b2d6d902318fa (diff)
downloadmce-test-3c43eef6b3627bfa7c44aaf6fb35c68a181520a9.tar.gz
Add new doc to introduce how to create case file
casefile is used to save what test cases will be used finally. So a proper introduction is necessary. BTW, fix a spell mistake in runmcetest. Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
-rw-r--r--doc/casefile-howto.txt8
-rwxr-xr-xrunmcetest4
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/casefile-howto.txt b/doc/casefile-howto.txt
new file mode 100644
index 0000000..da3b2e4
--- /dev/null
+++ b/doc/casefile-howto.txt
@@ -0,0 +1,8 @@
+casefile is used to save what test cases will be used finally. Here is an
+example to create it by hand.
+
+1. Copy one or more files from directory groups, say function, to somewhere.
+2. Open this file and remove all "on|off" at the end of line from every line.
+3. Delete unnecessary test cases. Here one line corresponds to one test case.
+4. Save this file and rename it to any name you prefer.
+5. When you execute runmcetest, use parameter "-l" along with this file.
diff --git a/runmcetest b/runmcetest
index 8bf9554..8e95f15 100755
--- a/runmcetest
+++ b/runmcetest
@@ -193,12 +193,12 @@ usage()
cat <<-EOF
usage: ${0##*/} [ -t TMPDIR ] [ -s SUMFILE ] [ -o OUTDIR ]
- [ -b TOODIR ] [ -l CASEFILE ] [ -r RUNTIMES ]
+ [ -b TOOLDIR ] [ -l CASEFILE ] [ -r RUNTIMES ]
-t TMPDIR Directory where temporary files will be created. Don't use important directory.
-s SUMDIR Directory where summary files will be created.
-o OUTDIR Directory where raw test outputs will be created.
- -b TOODIR Directory where tool utilities will be placed.
+ -b TOOLDIR Directory where tool utilities will be placed.
-l CASEFILE File where test case list will be used in the test.
-r RUNTIMES Assign the whole test rounds. 0 means infinite loop.
-h Help. Prints all available options.