Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 22741E00C5D; Fri, 6 May 2016 14:26:38 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.175 listed in list.dnswl.org] Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5A6BEE00C4C for ; Fri, 6 May 2016 14:26:35 -0700 (PDT) Received: by mail-pf0-f175.google.com with SMTP id 206so53924605pfu.0 for ; Fri, 06 May 2016 14:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=oInHFD37ZBjQuoTEipoqJVm5yrTPJeHrgal80XKc+wE=; b=KUJN6Su2h0bCzxwwNTOgliJWNo462xywSsPnpLEp0S27qHfoJ5gvFlrKnrLfMaIQPw P4+bJgbIMKYm8PMsCuj0I0a3fB2HzLYLV4EQPUZrkRnFoQekguay2UZ45Yz7oopdZVBj hZFy3qd6hAIiLKh7gje3FXgl8QnOXi1lX71mQGjiTX12y9kr5lRaujy0CFttRKrPia3r T/m2kKRUve9FH6ZMaR6a0UNqs3Vjdz9BkJsctTLvkwFMrTE+wZnDhIWohC7fVCIk/zi5 RRJLH86RR3dBhAUzHtvPXHQplEvQacR5K5KtCKzLvsNnpOicO1LcgO6U566AbH6RYF7q joTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oInHFD37ZBjQuoTEipoqJVm5yrTPJeHrgal80XKc+wE=; b=JHpBCG8NSkAnWq+4TWnPa0nLWbD0LreHkd7EeJzpWfQILVRJHEIaWF54tSpgzAVeyj uHzawJcjNFOXstDD+Cmw2oLnyG2VNwaHiRRaJjIsSu+EvpzOWqoy+LycwoFUjvVmQ8V7 0QCh+FIuz8SRtHKT4ADe2KjWAk4deFnijDxfpIEFYWq9aNEq/odjcmUaaB4X9uGYGHLu V0ab4d8LSfArdL0+bGnUj+zqIqzAtFk+fXLhtPzMNvyQz50vYTQ0F051W0mI9436pQsT slQAT7tykYQu2oNy3Q589z+Dp4VaAud2Q4GylrKtOlLRW+7yAhJ5zxOZyxjRsIsu9z2x /O+g== X-Gm-Message-State: AOPr4FWg5M663gnunpQF0RgIWmmNAamGY0TaaonoybUNy/jcajpyK9Bc3+rPgnXl2fv+DzL9 X-Received: by 10.98.28.65 with SMTP id c62mr31973266pfc.61.1462569994417; Fri, 06 May 2016 14:26:34 -0700 (PDT) Received: from dorado.ger.corp.intel.com ([192.55.55.41]) by smtp.gmail.com with ESMTPSA id d184sm23136651pfc.27.2016.05.06.14.26.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 May 2016 14:26:33 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Fri, 6 May 2016 22:26:19 +0100 Message-Id: <1462569985-12670-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v4 0/6] Build tests X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 21:26:38 -0000 Changes since v3: - Make sure config_file is initialised - Add a README file to explain how to run the tests Michael Wood (6): toaster: Remove DATABASE_URL being passed around as an environment var toaster: runbuilds move the execution sequence out of the poll loop toaster: Add a specific test settings file toaster: tests Add a BuildTest helper class toaster: tests build Add a test for a build of core-image-minimal toaster: tests builds Add SSTATE_MISS as a valid condition for tc=833 bitbake/bin/toaster | 2 - bitbake/lib/bb/ui/buildinfohelper.py | 20 +- .../bldcontrol/management/commands/runbuilds.py | 30 +- bitbake/lib/toaster/tests/builds/README | 14 + bitbake/lib/toaster/tests/builds/__init__.py | 0 bitbake/lib/toaster/tests/builds/buildtest.py | 134 +++++++ .../toaster/tests/builds/test_core_image_min.py | 396 +++++++++++++++++++++ .../toastermain/management/commands/get-dburl.py | 9 - bitbake/lib/toaster/toastermain/settings-test.py | 41 +++ bitbake/lib/toaster/toastermain/settings.py | 67 +--- 10 files changed, 621 insertions(+), 92 deletions(-) create mode 100644 bitbake/lib/toaster/tests/builds/README create mode 100644 bitbake/lib/toaster/tests/builds/__init__.py create mode 100644 bitbake/lib/toaster/tests/builds/buildtest.py create mode 100644 bitbake/lib/toaster/tests/builds/test_core_image_min.py delete mode 100644 bitbake/lib/toaster/toastermain/management/commands/get-dburl.py create mode 100644 bitbake/lib/toaster/toastermain/settings-test.py -- 2.7.4