Re: [Autotest] [PATCH 18/19] KVM test: kvm_tests.cfg.sample: get all Windows test utilities from a single ISO

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

 



On Thu, Sep 10, 2009 at 8:49 AM, Lucas Meneghel Rodrigues
<lmr@xxxxxxxxxx> wrote:
> On Wed, Sep 9, 2009 at 3:12 PM, Michael Goldish <mgoldish@xxxxxxxxxx> wrote:
>> Instead of rss.iso, vlc.iso and autoit.iso -- look for everything in winutils.iso
>> by default.
>> This make maintenance a little easier, and eliminates the need to restart VMs
>> between tests just in order to change the cdrom.
>> Also, expect vlc.exe in D:\vlc\vlc.exe instead of D:\vlc.exe.
>
> Ok, makes a lot of sense. In order to make it easier to people to
> build those CDs, I am going to provide a build isos scrpit under the
> deps/ folder, that can download the extraneous components from the
> internet. I believe this will be a nice touch for people trying the
> tests.
Definitely yes.
But I do not see any such script yet? Also it will be better to put a
readme under deps so that the user knows all the dependency in
advance. Otherwise one will come to know only after the test throws an
exception.
>
>> 'install' tests still use the usual ISO files.
>>
>> Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx>
>> ---
>>  client/tests/kvm/kvm_tests.cfg.sample |   18 +++++-------------
>>  1 files changed, 5 insertions(+), 13 deletions(-)
>>
>> diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample
>> index 201b0e1..285a38f 100644
>> --- a/client/tests/kvm/kvm_tests.cfg.sample
>> +++ b/client/tests/kvm/kvm_tests.cfg.sample
>> @@ -119,7 +119,6 @@ variants:
>>
>>     - autoit:       install setup
>>         type = autoit
>> -        cdrom = windows/autoit.iso
>>         autoit_binary = D:\AutoIt3.exe
>>         autoit_script_timeout = 600
>>         autoit_script_params =
>> @@ -362,17 +361,19 @@ variants:
>>         # file_transfer_client = scp
>>         # file_transfer_port = 22
>>
>> +        # This ISO will be used for all tests except install:
>> +        cdrom = windows/winutils.iso
>> +
>>         migrate:
>>             migration_test_command = ver && vol
>>         stress_boot:
>>             alive_test_cmd = systeminfo
>>         timedrift:
>> -            # For this to work, the ISO should contain vlc (vlc.exe) and a video (ED_1024.avi)
>> -            cdrom = windows/vlc.iso
>>             time_command = "echo TIME: %date% %time%"
>>             time_filter_re = "(?<=TIME: \w\w\w ).{19}(?=\.\d\d)"
>>             time_format = "%m/%d/%Y %H:%M:%S"
>> -            guest_load_command = 'cmd /c "d:\vlc -f --loop --no-qt-privacy-ask --no-qt-system-tray d:\ED_1024.avi"'
>> +            # For this to work, the cdrom at d: should contain vlc (d:\vlc\vlc.exe) and a video (d:\ED_1024.avi)
>> +            guest_load_command = 'cmd /c "d:\vlc\vlc -f --loop --no-qt-privacy-ask --no-qt-system-tray d:\ED_1024.avi"'
>>             # Alternative guest load:
>>             #guest_load_command = "(dir /s && dir /s && dir /s && dir /s) > nul"
>>             guest_load_stop_command = "taskkill /F /IM vlc.exe"
>> @@ -395,7 +396,6 @@ variants:
>>                     user = user
>>                 setup:
>>                     steps = Win2000-32-rss.steps
>> -                    cdrom = windows/rss.iso
>>
>>             - WinXP.32:
>>                 image_name = winXP-32
>> @@ -407,7 +407,6 @@ variants:
>>                     user = user
>>                 setup:
>>                     steps = WinXP-32-rss.steps
>> -                    cdrom = windows/rss.iso
>>
>>             - WinXP.64:
>>                 no reboot
>> @@ -420,7 +419,6 @@ variants:
>>                     user = user
>>                 setup:
>>                     steps = WinXP-64-rss.steps
>> -                    cdrom = windows/rss.iso
>>
>>             - Win2003:
>>                 image_size = 20G
>> @@ -438,7 +436,6 @@ variants:
>>                             user = user
>>                         setup:
>>                             steps = Win2003-32-rss.steps
>> -                            cdrom = windows/rss.iso
>>
>>                     - 64:
>>                         image_name = win2003-64
>> @@ -450,7 +447,6 @@ variants:
>>                             user = user
>>                         setup:
>>                             steps = Win2003-64-rss.steps
>> -                            cdrom = windows/rss.iso
>>
>>             - WinVista:
>>                 image_name = winvista
>> @@ -466,7 +462,6 @@ variants:
>>                             md5sum_1m = c724e9695da483bc0fd59e426eaefc72
>>                         setup:
>>                             steps = WinVista-32-rss.steps
>> -                            cdrom = windows/rss.iso
>>
>>                     - 64:
>>                         image_name += -64
>> @@ -477,7 +472,6 @@ variants:
>>                             md5sum_1m = 0947bcd5390546139e25f25217d6f165
>>                         setup:
>>                             steps = WinVista-64-rss.steps
>> -                            cdrom = windows/rss.iso
>>
>>             - Win2008:
>>                 image_name = win2008
>> @@ -497,7 +491,6 @@ variants:
>>                             md5sum_1m=07d7f5006393f74dc76e6e2e943e2440
>>                         setup:
>>                             steps = Win2008-32-rss.steps
>> -                            cdrom = windows/rss.iso
>>
>>                     - 64:
>>                         image_name += -64
>> @@ -511,7 +504,6 @@ variants:
>>                             passwd = 1q2w3eP
>>                         setup:
>>                             steps = Win2008-64-rss.steps
>> -                            cdrom = windows/rss.iso
>>
>>     # Unix/BSD section
>>     - @Unix:
>> --
>> 1.5.4.1
>>
>> _______________________________________________
>> Autotest mailing list
>> Autotest@xxxxxxxxxxxxxxx
>> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>>
>
>
>
> --
> Lucas
> _______________________________________________
> Autotest mailing list
> Autotest@xxxxxxxxxxxxxxx
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>



-- 
Sudhir Kumar
--
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