ia64/xen-unstable
changeset 12768:de8abd5ce652
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>
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>
author | Ewan Mellor <ewan@xensource.com> |
---|---|
date | Sun Dec 03 13:30:23 2006 +0000 (2006-12-03) |
parents | af10df2fed35 |
children | 12ee3d6e61ef |
files | tools/xm-test/lib/XmTestLib/Test.py |
line diff
1.1 --- a/tools/xm-test/lib/XmTestLib/Test.py Sat Dec 02 16:39:53 2006 +0000 1.2 +++ b/tools/xm-test/lib/XmTestLib/Test.py Sun Dec 03 13:30:23 2006 +0000 1.3 @@ -33,7 +33,6 @@ import select 1.4 import signal 1.5 import re 1.6 import glob 1.7 -import xapi 1.8 1.9 TEST_PASS = 0 1.10 TEST_FAIL = 255 1.11 @@ -134,12 +133,10 @@ def becomeNonRoot(): 1.12 1.13 def FAIL(format, *args): 1.14 print "\nREASON:", (format % args) 1.15 - xapi.vm_destroy_all() 1.16 sys.exit(TEST_FAIL) 1.17 1.18 def SKIP(format, *args): 1.19 print "\nREASON:", (format % args) 1.20 - xapi.vm_destroy_all() 1.21 sys.exit(TEST_SKIP) 1.22 1.23 def saveLog(logText, filename=None):