From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Breeds Subject: [PATCH 0/6][TOOLS][XM-TEST] Update xm-test to support new architectures Date: Fri, 29 Sep 2006 20:56:54 +1100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-Devel Cc: Dan Smith , XenPPC-devel List-Id: xen-devel@lists.xenproject.org Hi All, These patches update the xm-test code to be more easily portable to new architecture. This focus od this endevour is PPC but I believe that IA64 also benifits. Patch summary: 1: Instead of using a dated snapshot (which no longer exists) use buildroot-snapshot. 2: Remove hardcoded references to i386. 3: Rename configs/buildroot -> configs/buildroot-i386 and update Makefiles. 5: Update .hgignore to remove noise from the initrd building process 5: Refactor the XmTestLib and XmTestReport code to encapsulate all platform variations in one place. 6: FYI: Add powerpc definiations. This patch is for the xenppc tree but included here for comments and completeness. With these patches applied I'm still able to build an initrd and run the xm-test on x86 with no regressions. Feedback appreciated. Signed-off-by: Tony Breeds --- .hgignore | 9 tools/xm-test/lib/XmTestLib/XenDomain.py | 72 --- tools/xm-test/lib/XmTestLib/arch.py | 133 ++++++ tools/xm-test/lib/XmTestReport/OSReport.py | 10 tools/xm-test/lib/XmTestReport/arch.py | 48 ++ tools/xm-test/ramdisk/Makefile.am | 13 tools/xm-test/ramdisk/configs/buildroot | 330 --------------- tools/xm-test/ramdisk/configs/buildroot-i386 | 330 +++++++++++++++ tools/xm-test/ramdisk/configs/buildroot-powerpc | 334 ++++++++++++++++ 9 files changed, 879 insertions(+), 400 deletions(-)