On 05/16/2016 09:18 AM, Wei WA Li wrote:

Hi all,

I am following the guide as below.
http://avocado-vt.readthedocs.io/en/latest/WritingTests/WritingSimpleTests.html


I have create uptime.py file in local dir, but as guide said, I can't list
and run uptime, I think I did not enable this python to excution list.
Did I miss some steps? But I can't find any information about this on the
guide.

[root@zs95kv2 tests]# pwd
/avocado/Code/tp-qemu/generic/tests
[root@zs95kv2 tests]# ll uptime.py
-rw-r--r--. 1 root root 631 May 16 08:05 uptime.py
[root@zs95kv2 tests]# /avocado/avocado/scripts/avocado run --vt-type uptime

The documentation is broken. Can you try without `--vt-type` and let us know how it goes?

Thanks,
-Cleber.

Test discovery plugin <avocado_vt.loader.VirtTestLoader object at
0xb11715f8> failed: Virt Backend uptime is not currently supported by
avocado-vt. Check for typos and the list of supported backends

No urls provided nor any arguments produced runable tests. Please double
check the executed command.
[root@zs95kv2 tests]# /avocado/avocado/scripts/avocado list uptime
Unable to discover url(s) 'uptime' with loader plugins(s) 'file', 'vt',
'external', try running 'avocado list -V uptime' to see the details.
[root@zs95kv2 tests]#


Best regards,
-
Li, Wei (李 伟)
zKVM Solution Test
IBM China Systems & Technology Lab, Beijing
E-Mail: [email protected]
Tel: 86-10-82450631  Notes: Wei WA Li/China/IBM
Address: 3BW298, Ring Bldg. No.28 Building, ZhongGuanCun Software Park,No.8
         DongBeiWang West Road, ShangDi, Haidian District, Beijing,
P.R.China



_______________________________________________
Avocado-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/avocado-devel


--
Cleber Rosa
[ Sr Software Engineer - Virtualization Team - Red Hat ]
[ Avocado Test Framework - avocado-framework.github.io ]

_______________________________________________
Avocado-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/avocado-devel

Reply via email to