* [PATCH] [XM-TEST] Add SKIP() to tests that aren't appropriate for VMX domains
@ 2005-12-13 19:12 Daniel Stekloff
2005-12-13 19:18 ` Daniel Stekloff
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Stekloff @ 2005-12-13 19:12 UTC (permalink / raw)
To: Xen Mailing List; +Cc: Dan Smith
This patch adds SKIP() to tests that aren't appropriate for testing VMX
domains. Patch made against changeset 8338:82f1b5364f94
Here's the current report:
Xm-test execution summary:
PASS: 57
FAIL: 7
XPASS: 0
XFAIL: 3
Details:
FAIL: 11_create_concurrent_pos
[4] Failed to attach console to 11_create_4
FAIL: 12_create_concurrent_stress_pos
Timed out waiting for console
FAIL: 13_create_multinic_pos
(1 nics) Failed to create domain
XFAIL: 02_network_local_ping_pos
ping loopback failed for size 65507. ping eth0 failed for size
1 48 64 512 1440 1500 1505 4096 4192 32767 65507.
XFAIL: 05_network_dom0_ping_pos
Ping to dom0 failed for size 1 48 64 512 1440 1500 1505 4096
4192 32767 65507.
XFAIL: 11_network_domU_ping_pos
Ping failed for size 1 48 64 512 1440 1500 1505 4096 4192 32767
65507.
FAIL: 01_shutdown_basic_pos
Guest domain failed to shutdown
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [XM-TEST] Add SKIP() to tests that aren't appropriate for VMX domains
2005-12-13 19:12 [PATCH] [XM-TEST] Add SKIP() to tests that aren't appropriate for VMX domains Daniel Stekloff
@ 2005-12-13 19:18 ` Daniel Stekloff
2005-12-14 12:00 ` Ewan Mellor
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Stekloff @ 2005-12-13 19:18 UTC (permalink / raw)
To: Xen Mailing List; +Cc: Dan Smith
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
On Tue, 2005-12-13 at 11:12 -0800, Daniel Stekloff wrote:
> This patch adds SKIP() to tests that aren't appropriate for testing VMX
> domains. Patch made against changeset 8338:82f1b5364f94
Heh... forgot the patch. Here it is....
[-- Attachment #2: xm-test-vmx-skip.patch --]
[-- Type: text/x-patch, Size: 20188 bytes --]
# HG changeset patch
# User stekloff@elm3b216.beaverton.ibm.com
# Node ID bf1bbc673d58465ca7ce38b63aff0d114e328446
# Parent 82f1b5364f94a057057ab4bd1953735afa3d237b
Adding SKIP() to tests that aren't supported for VMX domains.
Signed-off-by: Dan Stekloff <dsteklof@us.ibm.com>
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/01_block_attach_device_pos.py
--- a/tools/xm-test/tests/block-create/01_block_attach_device_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/01_block_attach_device_pos.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py
--- a/tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py
--- a/tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/05_block_attach_and_dettach_device_repeatedly_pos.py
--- a/tools/xm-test/tests/block-create/05_block_attach_and_dettach_device_repeatedly_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/05_block_attach_and_dettach_device_repeatedly_pos.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/06_block_attach_baddomain_neg.py
--- a/tools/xm-test/tests/block-create/06_block_attach_baddomain_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/06_block_attach_baddomain_neg.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Murillo F. Bernardes <mfb@br.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
status, output = traceCommand("xm block-attach NOT-EXIST phy:ram1 sdb1 w")
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/07_block_attach_baddevice_neg.py
--- a/tools/xm-test/tests/block-create/07_block_attach_baddevice_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/07_block_attach_baddevice_neg.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/08_block_attach_bad_filedevice_neg.py
--- a/tools/xm-test/tests/block-create/08_block_attach_bad_filedevice_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/08_block_attach_bad_filedevice_neg.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py
--- a/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/10_block_attach_dettach_multiple_devices.py
--- a/tools/xm-test/tests/block-create/10_block_attach_dettach_multiple_devices.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/10_block_attach_dettach_multiple_devices.py Tue Dec 13 17:53:36 2005
@@ -46,6 +46,9 @@
return 0, None
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/11_block_attach_shared_dom0.py
--- a/tools/xm-test/tests/block-create/11_block_attach_shared_dom0.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/11_block_attach_shared_dom0.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Dan Smith <danms@us.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Mount /dev/ram0
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-create/12_block_attach_shared_domU.py
--- a/tools/xm-test/tests/block-create/12_block_attach_shared_domU.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-create/12_block_attach_shared_domU.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Dan Smith <danms@us.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
dom1 = XmTestDomain()
dom2 = XmTestDomain(dom1.getName() + "-2")
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-destroy/01_block-destroy_btblock_pos.py
--- a/tools/xm-test/tests/block-destroy/01_block-destroy_btblock_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-destroy/01_block-destroy_btblock_pos.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Dan Smith <danms@us.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-destroy/02_block-destroy_rtblock_pos.py
--- a/tools/xm-test/tests/block-destroy/02_block-destroy_rtblock_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-destroy/02_block-destroy_rtblock_pos.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Dan Smith <danms@us.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-destroy/04_block-destroy_nonattached_neg.py
--- a/tools/xm-test/tests/block-destroy/04_block-destroy_nonattached_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-destroy/04_block-destroy_nonattached_neg.py Tue Dec 13 17:53:36 2005
@@ -6,6 +6,9 @@
#Negative Test: attempt removal of non-attached device from live domain
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-destroy/05_block-destroy_byname_pos.py
--- a/tools/xm-test/tests/block-destroy/05_block-destroy_byname_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-destroy/05_block-destroy_byname_pos.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Dan Smith <danms@us.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py
--- a/tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py Tue Dec 13 17:53:36 2005
@@ -25,6 +25,9 @@
return True
else:
return False
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-list/01_block-list_pos.py
--- a/tools/xm-test/tests/block-list/01_block-list_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-list/01_block-list_pos.py Tue Dec 13 17:53:36 2005
@@ -7,6 +7,9 @@
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-list/02_block-list_attachbd_pos.py
--- a/tools/xm-test/tests/block-list/02_block-list_attachbd_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-list/02_block-list_attachbd_pos.py Tue Dec 13 17:53:36 2005
@@ -7,6 +7,9 @@
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-list/03_block-list_anotherbd_pos.py
--- a/tools/xm-test/tests/block-list/03_block-list_anotherbd_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-list/03_block-list_anotherbd_pos.py Tue Dec 13 17:53:36 2005
@@ -7,6 +7,9 @@
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-list/04_block-list_nodb_pos.py
--- a/tools/xm-test/tests/block-list/04_block-list_nodb_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-list/04_block-list_nodb_pos.py Tue Dec 13 17:53:36 2005
@@ -7,6 +7,9 @@
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
domain = XmTestDomain()
@@ -21,8 +24,5 @@
if status != 0:
FAIL("xm block-list returned bad status, expected 0, status is %i" % status)
-if ENABLE_VMX_SUPPORT:
- SKIP("Using block device for root, so this case does not apply")
-
if output != "":
FAIL("xm block-list should not list anything for domain with no block devices")
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/block-list/06_block-list_checkremove_pos.py
--- a/tools/xm-test/tests/block-list/06_block-list_checkremove_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/block-list/06_block-list_checkremove_pos.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Dan Smith <danms@us.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/memmax/01_memmax_badparm_neg.py
--- a/tools/xm-test/tests/memmax/01_memmax_badparm_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/memmax/01_memmax_badparm_neg.py Tue Dec 13 17:53:36 2005
@@ -8,6 +8,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-max not supported for VMX domains")
status, output = traceCommand("xm mem-max")
eyecatcher = "Error:"
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/memset/01_memset_basic_pos.py
--- a/tools/xm-test/tests/memset/01_memset_basic_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/memset/01_memset_basic_pos.py Tue Dec 13 17:53:36 2005
@@ -19,6 +19,9 @@
import re
import time
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/memset/02_memset_badparm_neg.py
--- a/tools/xm-test/tests/memset/02_memset_badparm_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/memset/02_memset_badparm_neg.py Tue Dec 13 17:53:36 2005
@@ -17,6 +17,9 @@
import re
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
# destroy no parm input - negative test
status, output = traceCommand("xm mem-set")
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/memset/03_memset_random_pos.py
--- a/tools/xm-test/tests/memset/03_memset_random_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/memset/03_memset_random_pos.py Tue Dec 13 17:53:36 2005
@@ -8,6 +8,8 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/memset/04_memset_smallmem_pos.py
--- a/tools/xm-test/tests/memset/04_memset_smallmem_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/memset/04_memset_smallmem_pos.py Tue Dec 13 17:53:36 2005
@@ -4,6 +4,9 @@
# Author: Dan Smith <danms@us.ibm.com>
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/migrate/01_migrate_localhost_pos.py
--- a/tools/xm-test/tests/migrate/01_migrate_localhost_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/migrate/01_migrate_localhost_pos.py Tue Dec 13 17:53:36 2005
@@ -16,6 +16,9 @@
import commands
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Migrate currently not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/network-attach/01_network_attach_pos.py
--- a/tools/xm-test/tests/network-attach/01_network_attach_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/network-attach/01_network_attach_pos.py Tue Dec 13 17:53:36 2005
@@ -7,6 +7,9 @@
from XmTestLib import *
from network_utils import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Network-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/network-attach/02_network_attach_detach_pos.py
--- a/tools/xm-test/tests/network-attach/02_network_attach_detach_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/network-attach/02_network_attach_detach_pos.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,9 @@
from XmTestLib import *
from network_utils import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Network-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py
--- a/tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,9 @@
from XmTestLib import *
from network_utils import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Network-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/restore/01_restore_basic_pos.py
--- a/tools/xm-test/tests/restore/01_restore_basic_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/restore/01_restore_basic_pos.py Tue Dec 13 17:53:36 2005
@@ -11,6 +11,9 @@
import time
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/restore/02_restore_badparm_neg.py
--- a/tools/xm-test/tests/restore/02_restore_badparm_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/restore/02_restore_badparm_neg.py Tue Dec 13 17:53:36 2005
@@ -12,6 +12,9 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
+
status, output = traceCommand("xm restore -x")
eyecatcher1 = "Error:"
eyecatcher2 = "Traceback"
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/restore/03_restore_badfilename_neg.py
--- a/tools/xm-test/tests/restore/03_restore_badfilename_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/restore/03_restore_badfilename_neg.py Tue Dec 13 17:53:36 2005
@@ -12,6 +12,9 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
+
status, output = traceCommand("xm restore /tmp/NON_EXIST")
eyecatcher1 = "Error:"
eyecatcher2 = "Traceback"
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/restore/04_restore_withdevices_pos.py
--- a/tools/xm-test/tests/restore/04_restore_withdevices_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/restore/04_restore_withdevices_pos.py Tue Dec 13 17:53:36 2005
@@ -6,6 +6,9 @@
from XmTestLib import *
import re
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/save/01_save_basic_pos.py
--- a/tools/xm-test/tests/save/01_save_basic_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/save/01_save_basic_pos.py Tue Dec 13 17:53:36 2005
@@ -6,6 +6,9 @@
import time
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Save currently not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/save/02_save_badparm_neg.py
--- a/tools/xm-test/tests/save/02_save_badparm_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/save/02_save_badparm_neg.py Tue Dec 13 17:53:36 2005
@@ -12,6 +12,9 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Save currently not supported for VMX domains")
+
status, output = traceCommand("xm save -x")
eyecatcher1 = "Error:"
eyecatcher2 = "Traceback"
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/save/03_save_bogusfile_neg.py
--- a/tools/xm-test/tests/save/03_save_bogusfile_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/save/03_save_bogusfile_neg.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,9 @@
import time
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Save currently not supported for VMX domains")
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/sysrq/01_sysrq_basic_neg.py
--- a/tools/xm-test/tests/sysrq/01_sysrq_basic_neg.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/sysrq/01_sysrq_basic_neg.py Tue Dec 13 17:53:36 2005
@@ -9,6 +9,9 @@
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Sysrq not supported for VMX domains")
+
status, output = traceCommand("xm sysrq does_not_exist s");
if status == 0:
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/sysrq/02_sysrq_sync_pos.py
--- a/tools/xm-test/tests/sysrq/02_sysrq_sync_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/sysrq/02_sysrq_sync_pos.py Tue Dec 13 17:53:36 2005
@@ -8,6 +8,9 @@
import time
from XmTestLib import *
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Sysrq not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
diff -r 82f1b5364f94 -r bf1bbc673d58 tools/xm-test/tests/sysrq/03_sysrq_withreboot_pos.py
--- a/tools/xm-test/tests/sysrq/03_sysrq_withreboot_pos.py Tue Dec 13 16:01:09 2005
+++ b/tools/xm-test/tests/sysrq/03_sysrq_withreboot_pos.py Tue Dec 13 17:53:36 2005
@@ -6,6 +6,9 @@
from XmTestLib import *
import time
+
+if ENABLE_VMX_SUPPORT:
+ SKIP("Sysrq not supported for VMX domains")
domain = XmTestDomain()
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [XM-TEST] Add SKIP() to tests that aren't appropriate for VMX domains
2005-12-13 19:18 ` Daniel Stekloff
@ 2005-12-14 12:00 ` Ewan Mellor
0 siblings, 0 replies; 3+ messages in thread
From: Ewan Mellor @ 2005-12-14 12:00 UTC (permalink / raw)
To: Daniel Stekloff; +Cc: Dan Smith, Xen Mailing List
On Tue, Dec 13, 2005 at 11:18:38AM -0800, Daniel Stekloff wrote:
> On Tue, 2005-12-13 at 11:12 -0800, Daniel Stekloff wrote:
> > This patch adds SKIP() to tests that aren't appropriate for testing VMX
> > domains. Patch made against changeset 8338:82f1b5364f94
>
>
> Heh... forgot the patch. Here it is....
Applied, thanks Daniel.
Ewan.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-14 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 19:12 [PATCH] [XM-TEST] Add SKIP() to tests that aren't appropriate for VMX domains Daniel Stekloff
2005-12-13 19:18 ` Daniel Stekloff
2005-12-14 12:00 ` Ewan Mellor
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.