Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-04 Thread Martin Kletzander
On 04/04/2012 07:13 AM, Guannan Ren wrote: Hi Currently, the testcase parser supports to cleanup testing environment after each testcase finished. we only need to add a flag command 'clean' after each testcase in testcase config, for example:

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-04 Thread Guannan Ren
On 04/04/2012 06:30 PM, Martin Kletzander wrote: On 04/04/2012 07:13 AM, Guannan Ren wrote: Hi Currently, the testcase parser supports to cleanup testing environment after each testcase finished. we only need to add a flag command 'clean' after each

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-04 Thread Martin Kletzander
On 04/04/2012 01:23 PM, Guannan Ren wrote: On 04/04/2012 06:30 PM, Martin Kletzander wrote: On 04/04/2012 07:13 AM, Guannan Ren wrote: --- repos/domain/screenshot.py |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/repos/domain/screenshot.py

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-04 Thread Guannan Ren
On 04/04/2012 07:53 PM, Martin Kletzander wrote: On 04/04/2012 01:23 PM, Guannan Ren wrote: On 04/04/2012 06:30 PM, Martin Kletzander wrote: On 04/04/2012 07:13 AM, Guannan Ren wrote: --- repos/domain/screenshot.py |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-04 Thread Martin Kletzander
On 04/04/2012 03:10 PM, Guannan Ren wrote: On 04/04/2012 07:53 PM, Martin Kletzander wrote: On 04/04/2012 01:23 PM, Guannan Ren wrote: On 04/04/2012 06:30 PM, Martin Kletzander wrote: On 04/04/2012 07:13 AM, Guannan Ren wrote: --- repos/domain/screenshot.py |5 + 1 files

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-04 Thread Guannan Ren
On 04/04/2012 09:43 PM, Martin Kletzander wrote: On 04/04/2012 03:10 PM, Guannan Ren wrote: On 04/04/2012 07:53 PM, Martin Kletzander wrote: On 04/04/2012 01:23 PM, Guannan Ren wrote: On 04/04/2012 06:30 PM, Martin Kletzander wrote: On 04/04/2012 07:13 AM, Guannan Ren wrote: ---

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-03 Thread Peter Krempa
On 04/02/2012 08:18 PM, Martin Kletzander wrote: This patch adds a test that obtains a screenshot of a domain and saves it in a file. Maybe we shoud later on modify this or add another test to allow comparing the returned image file against a pre-defined pattern, so we could actualy check if

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-03 Thread Guannan Ren
On 04/03/2012 09:34 PM, Peter Krempa wrote: On 04/02/2012 08:18 PM, Martin Kletzander wrote: This patch adds a test that obtains a screenshot of a domain and saves it in a file. Maybe we shoud later on modify this or add another test to allow comparing the returned image file against a

Re: [libvirt] [test-API PATCH] Added screenshot test

2012-04-03 Thread Guannan Ren
Hi Currently, the testcase parser supports to cleanup testing environment after each testcase finished. we only need to add a flag command 'clean' after each testcase in testcase config, for example: ...

[libvirt] [test-API PATCH] Added screenshot test

2012-04-02 Thread Martin Kletzander
This patch adds a test that obtains a screenshot of a domain and saves it in a file. --- repos/domain/screenshot.py | 57 1 files changed, 57 insertions(+), 0 deletions(-) create mode 100644 repos/domain/screenshot.py diff --git