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 mail.openembedded.org (Postfix) with ESMTP id D33D06D750 for ; Tue, 26 Nov 2013 09:17:39 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 26 Nov 2013 01:14:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,773,1378882800"; d="scan'208";a="442040677" Received: from linux.jf.intel.com (HELO linux.intel.com) ([10.23.219.25]) by orsmga002.jf.intel.com with ESMTP; 26 Nov 2013 01:17:38 -0800 Received: from firebird.rb.intel.com (firebird.rb.intel.com [10.237.105.73]) by linux.intel.com (Postfix) with ESMTP id 656346A4009 for ; Tue, 26 Nov 2013 01:17:37 -0800 (PST) From: Stefan Stanacar To: openembedded-core@lists.openembedded.org Date: Tue, 26 Nov 2013 11:18:20 +0200 Message-Id: X-Mailer: git-send-email 1.8.3.1 Subject: [PATCH v2 0/2] Run tests on a remote machine X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 09:17:41 -0000 Hello, These patches add some abstraction on how we control a target, so that we can also run the tests on real hardware. The "backend" is controlled by setting TEST_TARGET to "qemu" or "simpleremote". (a very simple remote implementation which does not deploy the image but runs the tests on a remote machine via ssh to a specified IP address). Cheers, Stefan Changed in v2: - yay, typos: FunFailed -> FuncFailed (there's a gremlin in my computer :)) - small changes in commit messages - one try/except block in targetcontrol.py was too big, scale it down. The following changes since commit 381cd842caa3db5eabf8973305b6979014d9d0a8: linux-firmware: add missing linux-firmware-iwlwifi-7260-7 package (2013-11-25 16:14:48 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib stefans/hwtest3 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/hwtest3 Stefan Stanacar (2): lib/oeqa: targetcontrol.py: add abstraction for running tests on different targets testimage: use the new targetcontrol.py module for running tests meta/classes/testimage-auto.bbclass | 3 +- meta/classes/testimage.bbclass | 104 ++++++++++----------------- meta/lib/oeqa/oetest.py | 20 +++--- meta/lib/oeqa/runtime/ping.py | 2 +- meta/lib/oeqa/runtime/smart.py | 4 +- meta/lib/oeqa/targetcontrol.py | 137 ++++++++++++++++++++++++++++++++++++ meta/lib/oeqa/utils/qemurunner.py | 50 +++++++------ meta/lib/oeqa/utils/sshcontrol.py | 20 ++---- 8 files changed, 224 insertions(+), 116 deletions(-) create mode 100644 meta/lib/oeqa/targetcontrol.py -- 1.8.3.1