Skip to contentSkip to conversation

xen: cpupool support - xm-test add-ons for cpupools

PATCH In review Juergen Gross 1 participant 1 message Apr 17, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 xen: cpupool support - xm-test add-ons for cpupools

Signed-off-by [email protected]
Signature · 5 lines
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions               e-mail: [email protected]
Otto-Hahn-Ring 6                        Internet: ts.fujitsu.com
D-81739 Muenchen                 Company details: ts.fujitsu.com/imprint.html
tools/xm-test/configure.ac +1 -0
diff -r 655dc3bc1d8e tools/xm-test/configure.ac
@@ -161,6 +161,7 @@ AC_CONFIG_FILES([
     tests/vtpm/Makefile
     tests/xapi/Makefile
     tests/enforce_dom0_cpus/Makefile
+    tests/cpupool/Makefile
     lib/XmTestReport/xmtest.py
     lib/XmTestLib/config.py
     ])
tools/xm-test/tests/Makefile.am +2 -1
diff -r 655dc3bc1d8e tools/xm-test/tests/Makefile.am
@@ -28,7 +28,8 @@ SUBDIRS = 	               	\
 		vcpu-pin	\
 		vtpm            \
 		enforce_dom0_cpus	\
-		save restore migrate
+		save restore migrate \
+		cpupool 
 
 EXTRA_DIST = $(SUBDIRS) Makefile.am.template
 
tools/xm-test/tests/xapi/Makefile.am +3 -1
diff -r 655dc3bc1d8e tools/xm-test/tests/xapi/Makefile.am
@@ -2,7 +2,9 @@ SUBDIRS =
 
 TESTS = 01_xapi-vm_basic.test \
 	02_xapi-vbd_basic.test \
-	03_xapi-network_pos.test
+	03_xapi-network_pos.test \
+	20_xapi-cpu_pool_basic.test 
+
 
 XFAIL_TESTS =
 
tools/xm-test/grouptest/cpupool new file +1 -0
diff -r 655dc3bc1d8e tools/xm-test/grouptest/cpupool
@@ -0,0 +1,1 @@
+cpupool
tools/xm-test/tests/cpupool/01_cpupool_basic_pos.py new file +66 -0

66 lines not on this page · raw message

tools/xm-test/tests/cpupool/02_cpupool_manage_pos.py new file +150 -0

150 lines not on this page · raw message

tools/xm-test/tests/cpupool/03_cpupool_domain.py new file +148 -0

148 lines not on this page · raw message

tools/xm-test/tests/cpupool/04_cpupool_migrate.py new file +84 -0

84 lines not on this page · raw message

tools/xm-test/tests/cpupool/Makefile.am new file +22 -0
diff -r 655dc3bc1d8e tools/xm-test/tests/cpupool/Makefile.am
@@ -0,0 +1,22 @@
+SUBDIRS =
+
+TESTS = 01_cpupool_basic_pos.test \
+        02_cpupool_manage_pos.test \
+	03_cpupool_domain.test \
+	04_cpupool_migrate.test
+
+EXTRA_DIST = $(TESTS)
+
+TESTS_ENVIRONMENT=@TENV@
+
+%.test: %.py
+	cp $< $@
+	chmod +x $@
+
+clean-local: am_config_clean-local
+
+am_config_clean-local:
+	rm -f *test
+	rm -f *log
+	rm -f *~
+
tools/xm-test/tests/cpupool/pool1.cfg new file +1 -0
diff -r 655dc3bc1d8e tools/xm-test/tests/cpupool/pool1.cfg
@@ -0,0 +1,1 @@
+name="Pool-1"
tools/xm-test/tests/cpupool/pools.py new file +65 -0

65 lines not on this page · raw message

tools/xm-test/tests/xapi/20_xapi-cpu_pool_basic.py new file +157 -0

157 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel