aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-12-03 13:30:23 +0000
committerEwan Mellor <ewan@xensource.com>2006-12-03 13:30:23 +0000
commit43bbe5bc9680630a963f44acb54fc0128d581384 (patch)
tree3591fd02c794b188ebea1634af4d9363652691c4 /tools/xm-test
parent7169017f841ddc48438c25b58973405cfa328b44 (diff)
downloadxen-43bbe5bc9680630a963f44acb54fc0128d581384.tar.gz
xen-43bbe5bc9680630a963f44acb54fc0128d581384.tar.bz2
xen-43bbe5bc9680630a963f44acb54fc0128d581384.zip
Revert the change to destroy all VMs when skipping or failing tests -- this
needs more thought, because people shouldn't need to set up their Xen-API server to run the non-Xen-API bits of the test, and at the moment, you get authentication failures on every SKIP. Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/xm-test')
-rw-r--r--tools/xm-test/lib/XmTestLib/Test.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/xm-test/lib/XmTestLib/Test.py b/tools/xm-test/lib/XmTestLib/Test.py
index 7efbc0f3e3..68a176c273 100644
--- a/tools/xm-test/lib/XmTestLib/Test.py
+++ b/tools/xm-test/lib/XmTestLib/Test.py
@@ -33,7 +33,6 @@ import select
import signal
import re
import glob
-import xapi
TEST_PASS = 0
TEST_FAIL = 255
@@ -134,12 +133,10 @@ def becomeNonRoot():
def FAIL(format, *args):
print "\nREASON:", (format % args)
- xapi.vm_destroy_all()
sys.exit(TEST_FAIL)
def SKIP(format, *args):
print "\nREASON:", (format % args)
- xapi.vm_destroy_all()
sys.exit(TEST_SKIP)
def saveLog(logText, filename=None):