diff options
author | Haicheng Li <haicheng.li@linux.intel.com> | 2010-03-09 14:22:40 +0800 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2010-03-13 00:00:05 +0100 |
commit | a03bc02b3c7ed042c85bff1a39d2bfee02402865 (patch) | |
tree | 07ad3f3e2605413e3d044db1572e668319442a27 | |
parent | 9c111c7f162b18f540c75c52c31b7c9a0f863199 (diff) | |
download | mce-test-a03bc02b3c7ed042c85bff1a39d2bfee02402865.tar.gz |
stress: add make test support.
Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | stress/Makefile | 11 |
2 files changed, 16 insertions, 1 deletions
@@ -22,13 +22,17 @@ reset: rm -rf work/* rm -rf results/* -test: test-simple +test: test-simple test-stress test-simple: $(MAKE) reset ./drivers/simple/driver.sh simple.conf $(MAKE) -C tsrc test +# requires LTP & page-types to be installed +test-stress: + $(MAKE) -C stress test + # requires special packages to be installed test-kdump: $(MAKE) reset diff --git a/stress/Makefile b/stress/Makefile index 63fae6b..700e3e1 100644 --- a/stress/Makefile +++ b/stress/Makefile @@ -11,4 +11,15 @@ all: clean: $(MAKE) -C tools clean rm -rf bin log result runtest + distclean: clean + +test: stress-soft stress-hard + +stress-soft: + @echo "run soft stress tester for 60 seconds" + ./hwpoison.sh -T -C 1 -t 60 -S + +stress-hard: + @echo "run hard stress tester for 60 seconds" + ./hwpoison.sh -T -C 20 -t 60 -M |