Add feature of test layering in groups for xm-test
PATCH 1/1 Add feature of test layering in groups for xm-test
Add feature to layer xm-test tests, grouping of tests by casename and execution of tests by user specified lists.
Signature · 6 lines
Sincerely, Woody Marvel IBM Linux Technology Center Open Source Virtualization email: [email protected] 503-578-3833 Beaverton, OR 97006 **********************************
# HG changeset patch
# User [email protected] # Node ID a53dc86beec72390c9e4a5a1466204639831e085 # Parent d4e433d615b04f4bbb61f240a3813a8fdb50d1f2 HG Patch
Add feature to layer xm-test tests, grouping of tests by casename and execution of tests by user specified lists.
tools/xm-test/README +16 -11
@@ -120,8 +120,9 @@ # ./runtest.sh <logfile> This will run all tests, as well as generate and submit a report at -the end. All output files will begin with "<logfile>." If you wish to -prevent submission of a report, add "-d" to the command line like this: +the end. All output files will begin with "<logfile>." +If you wish to prevent submission of a report, add "-d" to the +command line like this: # ./runtest.sh -d <logfile>
@@ -131,15 +132,19 @@ # ./runtest.sh -s <logfile> -For people needing a quick test run instead the full suite, a quick -mode has been added that will attempt to run a representative subset -of tests. This is not a substitute for the whole suite, but will -verify that some of the major functions of xen and xm are working: - - # ./runtest.sh -q <logfile> - -Because of the current structure of the reporting software, submission -of quick test run results is not supported. +Group test sets are supported in xm-test. This is form of layering of +tests groups/cases/tests. In the framework directory "grouptest", +files exist for group processing. The user can add groups, casenames +and test lists as required. Default group run is "groutest/default". + + # ./runtest.sh -g <groupname> <logfile> + +* NOTE: There is a subset of tests in group mode that is added +and will attempt to run, not a substitute for the full test suite, +a subset of tests. + # ./runtest.sh -g quick <logfile> + + It may be desirable to run a specific test group. This can be accomplished by doing the following:
tools/xm-test/runtest.sh +36 -37
116 lines not on this page · raw message
tools/xm-test/grouptest/create new file +1 -0
@@ -0,0 +1,1 @@ +create
tools/xm-test/grouptest/default new file +30 -0
@@ -0,0 +1,30 @@ +block-create +block-destroy +block-list +console +create +destroy +dmesg +domid +domname +enforce_dom0_cpus +help +info +list +memmax +memset +migrate +network +network-attach +pause +reboot +restore +save +sedf +shutdown +sysrq +unpause +vcpu-disable +vcpu-pin +vtpm +
tools/xm-test/grouptest/quick new file +4 -0
@@ -0,0 +1,4 @@ +create 01_create_basic_pos.test 07_create_mem64_pos.test 10_create_fastdestroy.test 14_create_blockroot_pos.test +unpause 01_unpause_basic_pos.test +memset 01_memset_basic_pos.test 03_memset_random_pos.test +help 06_help_allcmds.test
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
WM> Add feature to layer xm-test tests, grouping of tests by casename WM> and execution of tests by user specified lists.
This is great, thanks Woody! Hopefully we can get some really good test groups added into the tree so that people can test certain areas of Xen/Xend/Xm without running the whole suite.
Comments on the README below...
tools/xm-test/README line 138
Quoted 2 lines
tools/xm-test/README +2
-0+files exist for group processing. The user can add groups, casenames +and test lists as required. Default group run is "groutest/default".
^^^^^^^^
Typo here, should be "grouptest".
tools/xm-test/README line 144
Quoted 3 lines
tools/xm-test/README +3
-0+* NOTE: There is a subset of tests in group mode that is added +and will attempt to run, not a substitute for the full test suite, +a subset of tests.
Probably just my brain being fried on a Friday afternoon, but can you explain this?
Thanks!
Signature · 4 lines
Dan Smith IBM Linux Technology Center Open Hypervisor Team email: [email protected]
Quoted 6 lines · Dan Smith
WM> Add feature to layer xm-test tests, grouping of tests by casename WM> and execution of tests by user specified lists.
This is great, thanks Woody! Hopefully we can get some really good test groups added into the tree so that people can test certain areas of Xen/Xend/Xm without running the whole suite.
I agree, the will allow customization of the test suite.
Quoted 8 lines
Comments on the README below...
tools/xm-test/README line 138
Quoted 2 lines
tools/xm-test/README +2
-0+files exist for group processing. The user can add groups, casenames +and test lists as required. Default group run is "groutest/default".^^^^^^^^Typo here, should be "grouptest".
thanks
"grouptest/default".
Quoted 8 lines
tools/xm-test/README line 144
Quoted 4 lines
tools/xm-test/README +3
-0+* NOTE: There is a subset of tests in group mode that is added +and will attempt to run, not a substitute for the full test suite, +a subset of tests.Probably just my brain being fried on a Friday afternoon, but can you explain this?
* NOTE: There is a quick set of tests in group mode, that was added to run a group called quick tests. It is not a substitute for the full xm-test test suite.
Is this better?
Quoted 2 lines
Thanks!
Thank you Dan for the feedback.
Signature · 6 lines
Sincerely, Woody Marvel IBM Linux Technology Center Open Source Virtualization email: [email protected] 503-578-3833 Beaverton, OR 97006 **********************************
WM> * NOTE: There is a quick set of tests in group mode, that was WM> added to run a group called quick tests. It is not a substitute WM> for the full xm-test test suite.
Ah, ok.. I totally didn't get what you meant, I understand now ;)
Thanks!
Signature · 4 lines
Dan Smith IBM Linux Technology Center Open Hypervisor Team email: [email protected]