forked from autotest/virt-test
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring the config files for spice tests.
Refactoring the config files by moving all the separate cfg files per test to one, and removing the redundancies set in each one. Refactoring the base tests-spice.cfg to clean up the redundancies also and split up the tests per platform to be tested on. Signed-off-by: Vimal Patel <[email protected]> Signed-off-by: Marian Krcmarik <[email protected]>
- Loading branch information
Showing
10 changed files
with
199 additions
and
400 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
- rv: | ||
no JeOS | ||
vms = vm1 vm2 | ||
guest_vm = vm1 | ||
client_vm = vm2 | ||
display_vm2 = vnc | ||
vga_vm2 = cirrus | ||
full_screen = no | ||
virtio_ports_vm1 = "vdagent" | ||
virtio_port_type_vm1 = "serialport" | ||
virtio_port_chardev_vm1 = "spicevmc" | ||
virtio_port_name_prefix_vm1 = "com.redhat.spice." | ||
|
||
variants: | ||
-RHEL.6.3.x86_64: | ||
image_name_vm2 = images/rhel63-64_client | ||
-RHEL.6.3.i386: | ||
image_name_vm2 = images/rhel63-32_client | ||
-RHEL.6.devel.x86_64: | ||
image_name_vm2 = images/rhel6devel-64_client | ||
-RHEL.6.devel.i386: | ||
image_name_vm2 = images/rhel6devel-32_client | ||
variants: | ||
-fullscreen_setup: | ||
type = fullscreen_setup | ||
-rv_connect: | ||
type = rv_connect | ||
-rv_disconnect: rv_connect | ||
type = rv_disconnect | ||
-rv_fullscreen: fullscreen_setup, rv_connect | ||
type = rv_fullscreen | ||
-rv_copyandpaste: rv_connect | ||
type = rv_copyandpaste | ||
interpreter = python | ||
dst_dir = /tmp | ||
guest_script = cb.py | ||
script_params_img_set = --set_image | ||
script_params_img_save = -m | ||
script_params_writef = -f | ||
script_params_createf = -n | ||
final_textfile = StringLengthTest.txt | ||
final_image = PNGTest.png | ||
image_tocopy_name = Image-small.png | ||
final_image_bmp = BMPTest.bmp | ||
image_tocopy_name_bmp = Image2.bmp | ||
image_type = png | ||
script_params = --set | ||
script_params_clear = --clear | ||
text_to_test = Testing_this_text_was_copied | ||
- rv_input: rv_connect | ||
type = rv_input | ||
guest_script = key_event_form.py | ||
- rv_logging: rv_connect | ||
type = rv_logging | ||
logtest = qxl | ||
qxl_log = /var/log/Xorg.0.log | ||
spice_log = /var/log/spice-vdagent.log | ||
interpreter = python | ||
dst_dir = /tmp | ||
guest_script = cb.py | ||
script_params = --set | ||
text_to_test = Testing_this_text_was_copied | ||
- rv_vmshutdown: rv_connect | ||
type = rv_vmshutdown | ||
cmd_cli_shutdown = "shutdown -h now" | ||
cmd_qemu_shutdown = "system_powerdown" | ||
- client_guest_shutdown: | ||
type = client_guest_shutdown | ||
shutdown_method = shell | ||
kill_vm = yes | ||
kill_vm_gracefully = no | ||
|
||
variants: | ||
#variant for a RHEL client and a RHEL guest | ||
-rr: | ||
#variant for a RHEL client and a Windows guest | ||
-rw: | ||
pssword = 1q2w3eP | ||
password_vm2 = 123456 | ||
display_vm2 = vnc | ||
os_type_vm2 = linux | ||
shell_prompt_vm2 = ^\[.*\][\#\$]\s*$ | ||
shell_client_vm2 = ssh | ||
username_vm2 = root | ||
shell_port_vm2 = 22 | ||
status_test_command_vm2 = echo $? | ||
|
||
#variant for a Windows client and a RHEL guest | ||
-wr: | ||
#variant for a Windows client and a Windows guest | ||
-ww: | ||
|
d690828
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very nice!