aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZheng Jiajia <jiajia.zheng@intel.com>2009-09-22 09:52:38 +0800
committerHuang Ying <ying.huang@intel.com>2009-09-22 09:54:50 +0800
commit731ace0b07f8e9061cb48dd401280603ca49594b (patch)
treec8532fdb8fa278702366f42a32b0c348f46a5d11
parent48f52357eab1ed9766b6a8e8fa20ff2eecb8d365 (diff)
downloadmce-test-731ace0b07f8e9061cb48dd401280603ca49594b.tar.gz
Update the documentation howto.txt
Update the howto.txt. -recommend to stop cron before mce testing. -add an introduction to loop-mce-test as well. Signed-off-by: Zheng Jiajia <jiajia.zheng@intel.com>
-rw-r--r--doc/howto.txt19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/howto.txt b/doc/howto.txt
index e901914..7854377 100644
--- a/doc/howto.txt
+++ b/doc/howto.txt
@@ -248,12 +248,18 @@ b. Modify config/simple.conf or create a new test configuration
c. Run "make". Carefully check for any errors.
-d. To be root and invoke simple test driver on test configuration file
+d. It is recommended to stop cron before testing. Because there
+ might be another mcelog reading events running on background
+ by cron, which will upset the test.
+
+ /etc/init.d/crond stop
+
+e. To be root and invoke simple test driver on test configuration file
as follow
drivers/simple/driver.sh config/simple.conf
-e. General test result will go results/simple/result. Test log will go
+f. General test result will go results/simple/result. Test log will go
work/simple/log. Additional test results for various test cases
will go results/simple/<test case>/<xxx>. For more details about
in-package test case class, please refer to section 2.1.
@@ -461,6 +467,15 @@ Some tools are provided to help analyze test result.
Where <grep options> are same as options available to /bin/grep.
+- tools/loop-mce-test
+
+ Run mce test cases in a loop. It exits on failure of any one of the test
+ cases. This script is using simple test driver.
+
+ Usage:
+ ./loop-mce-test <config_file>
+
+ Note that only simple test configure file can be used here.
5. Add test cases
-----------------