diff mbox

[Autotest,-,updated,with,current,tree] KVM test: Add perfmon into the guest tests

Message ID 20100527092804.7588.85143.stgit@dhcp-91-198.nay.redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Cao, Chen May 27, 2010, 9:30 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/autotest_control/perfmon.control b/client/tests/kvm/autotest_control/perfmon.control
new file mode 100644
index 0000000..d3f5190
--- /dev/null
+++ b/client/tests/kvm/autotest_control/perfmon.control
@@ -0,0 +1,16 @@ 
+TIME="SHORT"
+AUTHOR = "Stephane Eranian <eranian@google.com>"
+DOC = """
+This is a simple series of test for the perfmon2 API which
+provides access to the hardware performance counters of modern
+processors.
+
+Information about perfmon2 at:
+http://perfmon2.sf.net
+"""
+NAME = 'perfmon'
+TEST_CLASS = 'kernel'
+TEST_CATEGORY = 'Functional'
+TEST_TYPE = 'client'
+
+job.run_test('perfmon')
diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index 5349034..599e4c3 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -154,6 +154,8 @@  variants:
                 test_control_file = hwclock.control
             - rtc:
                 test_control_file = rtc.control
+            - perfmon:
+                test_control_file = perfmon.control
 
     - linux_s3:     install setup unattended_install
         type = linux_s3