ia64/xen-unstable

view tools/xm-test/configure.ac @ 8698:d05c39dcc374

VMX support for xm-test currently doesn't support network tests for eth0
because the create script doesn't load the pcnet32 driver to the disk.img
when it copies the kernel there. This is the first step to make network
support possible for VMX guest testing.

This patch adds busybox support for loading 2.6 kernel modules. Since the
image changes, I have adjusted the xm-test version too.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Jan 29 10:54:52 2006 +0100 (2006-01-29)
parents eb364ce00a24
children 4cce50ba4520
line source
1 # xm-test configure.ac input script
3 # Basic header information
4 AC_INIT([xm-test], [0.7.0])
5 AM_INIT_AUTOMAKE([1.7 foreign])
7 # Check for dependencies
8 AC_PROG_CC
9 #AC_PROG_INSTALL
10 AC_CHECK_PROG([LILO], lilo, lilo, "no", [$PATH])
12 # Right now, we can assume that the lib/ and ramdisk/ directories
13 # are two levels above the tests
14 TESTLIB=../../lib
15 RD_PATH=../../ramdisk
16 TENV="PYTHONPATH=$PYTHONPATH:$TESTLIB:/usr/lib/python RD_PATH=$RD_PATH"
18 AC_ARG_ENABLE(vmx-support,
19 [[ --enable-vmx-support enable hardware virtual machine assist]],
20 [
21 ENABLE_VMX=True
22 ],[
23 ENABLE_VMX=False
24 ])
26 if test "x$ENABLE_VMX" = "xTrue"; then
27 if test "$LILO" = "no"; then
28 AC_MSG_ERROR([lilo not found
29 lilo version 22.7 or greater must be installed for testing with vmx enabled.])
30 else
31 pass=`$LILO -V | sed -e "s/LILO version //" | awk -F "." '{if ($1 >=22 && $2 >= 7) print "true"; else print "false"}'`
32 if test "$pass" != "true"; then
33 AC_MSG_ERROR(Lilo version must be equal or greater to 22.7+.)
34 fi
35 fi
36 fi
38 AM_CONDITIONAL(VMX, test x$ENABLE_VMX = xTrue)
39 AC_SUBST(ENABLE_VMX)
41 AC_ARG_WITH(vmx-kernel,
42 [[ --with-vmx-kernel=kernel Use this kernel for vmx disk.img testing]],
43 VMXKERNEL=$withval,
44 VMXKERNEL="no")
46 dnl substitute @VMXKERNEL@ in all Makefiles
47 AC_SUBST(VMXKERNEL)
49 AC_SUBST(TENV)
50 AC_SUBST(PACKAGE_VERSION)
52 AC_PROG_YACC
53 AC_PROG_LEX
55 # basic build files
56 AC_CONFIG_FILES([
57 Makefile
58 ramdisk/Makefile
59 tests/Makefile
60 tests/_sanity/Makefile
61 tests/block-list/Makefile
62 tests/block-create/Makefile
63 tests/block-destroy/Makefile
64 tests/console/Makefile
65 tests/create/Makefile
66 tests/destroy/Makefile
67 tests/dmesg/Makefile
68 tests/domid/Makefile
69 tests/domname/Makefile
70 tests/help/Makefile
71 tests/info/Makefile
72 tests/list/Makefile
73 tests/memmax/Makefile
74 tests/memset/Makefile
75 tests/migrate/Makefile
76 tests/network-attach/Makefile
77 tests/network/Makefile
78 tests/pause/Makefile
79 tests/reboot/Makefile
80 tests/restore/Makefile
81 tests/save/Makefile
82 tests/sedf/Makefile
83 tests/shutdown/Makefile
84 tests/sysrq/Makefile
85 tests/unpause/Makefile
86 tests/vcpu-pin/Makefile
87 tests/vcpu-disable/Makefile
88 tests/enforce_dom0_cpus/Makefile
89 lib/XmTestReport/xmtest.py
90 lib/XmTestLib/config.py
91 ])
93 AC_OUTPUT
95 chmod a+x lib/XmTestReport/xmtest.py