[KVM-AUTOTEST PATCH 16/28] KVM test: whql_submission: run a user specified shell command before the test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx>
---
 client/tests/kvm/tests/whql_submission.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/tests/whql_submission.py b/client/tests/kvm/tests/whql_submission.py
index b1b7f25..8dd48b8 100644
--- a/client/tests/kvm/tests/whql_submission.py
+++ b/client/tests/kvm/tests/whql_submission.py
@@ -42,6 +42,11 @@ def run_whql_submission(test, params, env):
     for svc in wtt_services.split():
         kvm_test_utils.start_windows_service(session, svc)
 
+    # Run whql_pre_command
+    if params.get("whql_pre_command"):
+        session.cmd(params.get("whql_pre_command"),
+                    int(params.get("whql_pre_command_timeout", 600)))
+
     # Copy dsso_test_binary to the server
     rss_file_transfer.upload(server_address, server_file_transfer_port,
                              dsso_test_binary, server_studio_path, timeout=60)
-- 
1.7.3.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux