From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx1.pokylinux.org (Postfix) with ESMTP id 96BD54C80578 for ; Thu, 28 Apr 2011 10:16:06 -0500 (CDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 28 Apr 2011 08:16:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,281,1301900400"; d="scan'208";a="739718322" Received: from unknown (HELO localhost) ([10.239.48.201]) by orsmga001.jf.intel.com with ESMTP; 28 Apr 2011 08:16:05 -0700 Message-Id: Old-Date: Thu, 28 Apr 2011 23:29:00 +0800 Date: Thu, 28 Apr 2011 23:32:10 +0800 To: poky@yoctoproject.org CC: From: Jiajun Xu Subject: [PATCH 0/1] qemuimagetest: Enable toolchain automation tests in qemuimagetest X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 15:16:07 -0000 From: Jiajun Xu Three C/C++ test projects are added to test toolchain - cvs, iptables and sudoku-savant. User needs to set TEST_SCEN to "toolchain" in local.conf to enable tests. Test case will check if toolchain tarball exists under "${DEPLOY_DIR}/sdk". And it will extract toolchain tarball into /opt. It requires user to chown /opt to non-root user, who will run qemuimagetest. Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: jxu49/master Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jxu49/master Thanks, Jiajun Xu --- Jiajun Xu (1): qemuimagetest: Enable toolchain automation tests in qemuimagetest meta-yocto/conf/local.conf.sample | 2 +- meta/classes/imagetest-qemu.bbclass | 9 +- meta/classes/populate_sdk.bbclass | 3 + scripts/qemuimage-testlib | 232 +++++++++++++++++++- .../scenario/qemuarm/meta-toolchain-gmae | 3 + .../scenario/qemumips/meta-toolchain-gmae | 3 + .../scenario/qemuppc/meta-toolchain-gmae | 3 + .../scenario/qemux86-64/meta-toolchain-gmae | 3 + .../scenario/qemux86/meta-toolchain-gmae | 3 + scripts/qemuimage-tests/toolchain/cvs | 31 +++ scripts/qemuimage-tests/toolchain/iptables | 31 +++ scripts/qemuimage-tests/toolchain/sudoku-savant | 31 +++ 12 files changed, 350 insertions(+), 4 deletions(-) create mode 100644 scripts/qemuimage-tests/scenario/qemuarm/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemumips/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemuppc/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemux86-64/meta-toolchain-gmae create mode 100644 scripts/qemuimage-tests/scenario/qemux86/meta-toolchain-gmae create mode 100755 scripts/qemuimage-tests/toolchain/cvs create mode 100755 scripts/qemuimage-tests/toolchain/iptables create mode 100755 scripts/qemuimage-tests/toolchain/sudoku-savant