Skip to content

Commit

Permalink
avocado-vt: Remove old virt-test run script
Browse files Browse the repository at this point in the history
Now with virt-test as part of the avocado plugin,
the runner script isn't necessary anymore. Let's
remove it, along with references to it inside
avocado-vt.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
  • Loading branch information
lmr committed Jul 30, 2015
1 parent 2d0069f commit 7cefc98
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 1,000 deletions.
2 changes: 1 addition & 1 deletion backends/libvirt/cfg/tests.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File reserved for test runner (./run) use, don't modify.
# File reserved for avocado-vt use, don't modify.
include tests-shared.cfg

variants:
Expand Down
2 changes: 1 addition & 1 deletion backends/lvsb/cfg/tests.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File reserved for test runner (./run) use, don't modify.
# File reserved for avocado-vt use, don't modify.
include tests-shared.cfg

# No filter needed since only lvsb subtests are generated
2 changes: 1 addition & 1 deletion backends/openvswitch/cfg/tests.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File reserved for test runner (./run) use, don't modify.
# File reserved for avocado-vt use, don't modify.
include tests-shared.cfg

variants:
Expand Down
2 changes: 1 addition & 1 deletion backends/qemu/cfg/tests.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File reserved for test runner (./run) use, don't modify.
# File reserved for avocado-vt use, don't modify.
include tests-shared.cfg

variants:
Expand Down
2 changes: 1 addition & 1 deletion backends/v2v/cfg/tests.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File reserved for test runner (./run) use, don't modify.
# File reserved for avocado-vt use, don't modify.
include tests-shared.cfg

variants:
Expand Down
2 changes: 1 addition & 1 deletion examples/tests/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# :difficulty: simple
# Put this file into $test_provider/tests directory and use
# ./run -t $type --tests="template" to execute it.
# $ avocado run template --vt-type qemu to execute it.
import logging


Expand Down
979 changes: 0 additions & 979 deletions run

This file was deleted.

2 changes: 1 addition & 1 deletion selftests/all/unit/unittest_data/testcfg.huge/tests.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is just a sample config file used for the config parser unit tests
# File reserved for test runner (./run) use, don't modify.
# File reserved for avocado-vt use, don't modify.
include tests-shared.cfg

variants:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ variants:
# in virt-test
# ln -s /path/to/kvm-unit-tests/x86 /path/to/virt-test/qemu/
# 4) On virt-test directory, execute the runner:
# ./run -c qemu/cfg/unittests.cfg --qemu-bin /path/to/your/qemu
# avocado run --vt-config qemu/cfg/unittests.cfg --qemu-bin /path/to/your/qemu

# If you want to run the build test together with unittest
#only build unittest
Expand Down
7 changes: 1 addition & 6 deletions shared/cfg/guest-os/Linux/LinuxCustom/README
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ FooLinux:

Which would make it possible to specify this custom guest using

./run -t qemu -g LinuxCustom.FooLinux

Provided that you have a file called images/foo-linux.qcow2, if using the
qcow2 format image. If you wish to provide a raw image file, you must use

./run -t qemu -g LinuxCustom.FooLinux --image-type raw
$ avocado run migrate..tcp --vt-type qemu --vt-guest-os LinuxCustom.FooLinux

Other useful params to set (not an exaustive list):

Expand Down
7 changes: 1 addition & 6 deletions shared/cfg/guest-os/Windows/WindowsCustom/README
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ FooWindows:

Which would make it possible to specify this custom guest using

./run -t qemu -g WindowsCustom.FooWindows

Provided that you have a file called images/foo-windows.qcow2, if using the
qcow2 format image. If you wish to provide a raw image file, you must use

./run -t qemu -g WindowsCustom.FooWindows --image-type raw
$ avocado run migrate..tcp --vt-type qemu --vt-guest-os WindowsCustom.FooWindows

Other useful params to set (not an exaustive list):

Expand Down
2 changes: 1 addition & 1 deletion virttest/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ def bootstrap(options, interactive=False):
else:
logging.debug("Module %s loaded", module)

online_docs_url = 'http://virt-test.readthedocs.org/'
online_docs_url = 'http://avocado-vt.readthedocs.org/'
logging.info("")
step += 1
logging.info("%d - If you wish, you may take a look at the online docs for "
Expand Down

0 comments on commit 7cefc98

Please sign in to comment.