From: Satheesh Rajendran <sathn...@linux.vnet.ibm.com>

Signed-off-by: Satheesh Rajendran <sathn...@linux.vnet.ibm.com>
---
 client/virt/autotest_control/ltp.control |   11 +++++++++++
 client/virt/subtests.cfg.sample          |    9 +++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 client/virt/autotest_control/ltp.control

diff --git a/client/virt/autotest_control/ltp.control 
b/client/virt/autotest_control/ltp.control
new file mode 100644
index 0000000..eb3e2af
--- /dev/null
+++ b/client/virt/autotest_control/ltp.control
@@ -0,0 +1,11 @@
+NAME = "LTP"
+AUTHOR = "Satheesh Rajendran <sathn...@linux.vnet.ibm.com>"
+TIME = "MEDIUM"
+TEST_CATEGORY = "FUNCTIONAL"
+TEST_CLASS = "KERNEL"
+TEST_TYPE = "CLIENT"
+DOC = """
+Linux Test Project. See http://ltp.sourceforge.net/
+"""
+
+job.run_test('ltp', args='-t 1h')
diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index 1dcd091..099f28e 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -902,6 +902,15 @@ variants:
                 test_control_file = flail.control
             - systemtap:
                 test_control_file = systemtap.control
+            - ltp:
+                # This timeout has to be set inaccordance with timeout
+                # argument in ltp.control (-t 1h)file.
+                # Currently it is set to 1 hour and correspodingly this time
+                # has been kept (3600+1000) 4600 seconds.
+                # Inorder to run ltp for more time change the timeout here and
+                # ltp.control file appropriately.
+                test_timeout = 4600
+                test_control_file = ltp.control
             - cpuflags-stress:
                 test_control_file = cpuflags.control
             - scsi_testsuite:
-- 
1.7.5.4

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to