From patchwork Tue Feb 12 14:18:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1040614 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="rZxRZKcy"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43zPs508zsz9s3x for ; Wed, 13 Feb 2019 01:18:29 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C173EC21F97; Tue, 12 Feb 2019 14:18:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id AAE5EC21EE8; Tue, 12 Feb 2019 14:18:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9E038C21EE8; Tue, 12 Feb 2019 14:18:18 +0000 (UTC) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by lists.denx.de (Postfix) with ESMTPS id 2C87EC21E2F for ; Tue, 12 Feb 2019 14:18:18 +0000 (UTC) Received: by mail-lj1-f179.google.com with SMTP id l7-v6so2341533ljg.9 for ; Tue, 12 Feb 2019 06:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=giuBeMsiKd57gWjEXt7stq60lH+qUFCo7631n1vt36g=; b=rZxRZKcySVAqVKCPtPnbfHp4TUjaq13zTl2UEJPPRfrpDrUGn3mwN1NQdinYir6PiL YrJ95w7FB5Av4jBuanZMYtCyOI1YcLKE3P9Wkn9CQb5h5JkaKPoT/98TVxX5Zd0Tbq41 IDNbAjpH4sGLHoa5zOviJBqBEDPU3gqSLSctFeoJZL2EkCIXk9fVva4TYBbXJSlaEZG/ 5On5rB8k4T9eIha0G3B409X8Zk5OP+xP4BXEOP/xrE/pNGxrmhazCo3ocQh29Rb2i2lM uqg/Dc3WipJi3WSFrxdDu9APY62hEFaicxbScsCUOQz53ZJHeiOmxz/Z/mqklB0Kinrz RYLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=giuBeMsiKd57gWjEXt7stq60lH+qUFCo7631n1vt36g=; b=Ui9pbzVV+mp7MgChI/f+IneJ1lsJqRRc39Fvn7PKs0/q6s4BXqJDI2C9+Luv9VPYj4 wHO0+1HG6u6dZ0xD92osvyIbIm19sWJE1i7Pw7qQmurp1dHhVBNq+/g07eQmvARy2fYG zdx11UE7ZdfYxqaxvPAmWs6m5dJ/qKdHzxaiESutXU7bJQzF6i8xH8rRyCr8FC4KlhcJ lT5KufOaMHpOS3DH+Vnm9XfXBciPkcCeEONsxer/rs3G4wMBXMTKPyxrztfKXJSeXa59 oZoJEPTz1DD9OXsQdE3KrbTsaFqy6l+rCXnqNWkrjRUjCOsrIZB1xCf8i39wjLIi2191 hxBQ== X-Gm-Message-State: AHQUAuZHj+sVjufvH/McD9EbtbK72raIZ9y1gUVG7ix02JIck4qTWG1F z8ibAAfGYKrQQh3LLkneksJwGQu72Zo= X-Google-Smtp-Source: AHgI3Ibe3APLi4ZJcFnTR5oub8V9CDHVealK6icv8VcdLJQi4xyMT9ytr3b399/fK3KmmMKirzEZZw== X-Received: by 2002:a2e:980e:: with SMTP id a14-v6mr2456237ljj.119.1549981096851; Tue, 12 Feb 2019 06:18:16 -0800 (PST) Received: from localhost ([195.238.92.223]) by smtp.gmail.com with ESMTPSA id c140sm1596008lfd.36.2019.02.12.06.18.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Feb 2019 06:18:15 -0800 (PST) From: Igor Opaniuk To: u-boot@lists.denx.de Date: Tue, 12 Feb 2019 16:18:14 +0200 Message-Id: <1549981094-9519-1-git-send-email-igor.opaniuk@linaro.org> X-Mailer: git-send-email 2.7.4 Cc: trini@konsulko.com Subject: [U-Boot] [PATCH 1/1] test: let use gdbserver for all sandbox targets X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Enable usage of gdbserver for all sandbox targets (sandbox, sandbox_flattree etc.). Signed-off-by: Igor Opaniuk Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- test/py/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/conftest.py b/test/py/conftest.py index 5c658b8..e40cbf0 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -117,8 +117,8 @@ def pytest_configure(config): mkdir_p(persistent_data_dir) gdbserver = config.getoption('gdbserver') - if gdbserver and board_type != 'sandbox': - raise Exception('--gdbserver only supported with sandbox') + if gdbserver and not board_type.startswith('sandbox'): + raise Exception('--gdbserver only supported with sandbox targets') import multiplexed_log log = multiplexed_log.Logfile(result_dir + '/test-log.html')