From patchwork Fri Nov 2 04:12:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Martincoski X-Patchwork-Id: 992183 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="THrbrF2d"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42mTGm0mXFzB4R1 for ; Fri, 2 Nov 2018 15:14:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 54AD8863E0; Fri, 2 Nov 2018 04:14:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eZyAdpE5XxYl; Fri, 2 Nov 2018 04:14:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 42B69863E2; Fri, 2 Nov 2018 04:14:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 483E41BF4DA for ; Fri, 2 Nov 2018 04:14:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 45DD5863DD for ; Fri, 2 Nov 2018 04:14:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dy2LwxMUAaa for ; Fri, 2 Nov 2018 04:14:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0356B85F71 for ; Fri, 2 Nov 2018 04:14:02 +0000 (UTC) Received: by mail-qk1-f195.google.com with SMTP id n12so1091152qkh.11 for ; Thu, 01 Nov 2018 21:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=GVrPxiKlWmtM9QOsR3wPt7CywKsfeQO+c1AZrlIPUdY=; b=THrbrF2d9kHuriDxLiK4I6UxrdIyl4G7Q2L5pD82nALJr7zg0oAv2rkedeuZkZhHZ7 G0tNAOQhKrMFm/0RfdIDk/eHvBbTpQPNWj9aYiCItDA5egXq0fXSIEv4yMGZZd4ZtHqK pSMUpju1xCLsVEDSsk7r6cu/TurEvLnimex+igIz+dXkkaqln6pPvkycpCyOkY7jy7ym sQxJdqqR93hMFzJ9tGYQrTcqPFrZQcNbBNRGgW8c18v6u+AW5J+FNqJbZ6koTkojpN8R MxJIB3XKRgu+MEjdGlZ2e8a3LTl5hMFH67sUxbt2DCNnjLptojiPQHR3MtWLvzAdyF2b t15A== 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:in-reply-to :references:in-reply-to:references; bh=GVrPxiKlWmtM9QOsR3wPt7CywKsfeQO+c1AZrlIPUdY=; b=FR37EeVwdPVNVcBcjDBZQ+28Vrx/vjadFXQpZlWpRmUPXOdA+E6LKU59dasHr9tEoM RMWfm+lnzzqNkhEeL1YRMvmhKcQPtWZ73EckkQJsRcpg6A1ku7neiOPlOTbMYOfxSG3C kzyDIvIPkWqQhdgr0uyBxHHQqjpsbTYUFiCgqPNw2XrWNn2FKHL10XA/sF1eEJRqgjJO i+WLM+b+mWpgQb48VPlLVVDrQjoPWGGf2pQGehM/5lECsA44l5FRbrwAbZI7U/lEytru w7fgVfBbEL6+TaRGtTQBO3LTdpkdJmScSyuZlOkgIRrdjNvGaicGR1ZNmToA+EM/greL w6RQ== X-Gm-Message-State: AGRZ1gLt6Qp+7HhLucZGltkgL0h4ItDYK2TqLTTYnSeIkQPwK4SoFssT D9XgVI/M0LiDmsYY5k+jmYMLKMtV X-Google-Smtp-Source: AJdET5duCmf9yEchkJTT9yW2+v/cOv+2CwOPenuDp8xu8C+tZHZHnQmpoGxc4K4mEfCJ7sGf4FHXsQ== X-Received: by 2002:a37:160e:: with SMTP id g14mr9134575qkh.32.1541132040908; Thu, 01 Nov 2018 21:14:00 -0700 (PDT) Received: from ultri5.home ([179.181.159.8]) by smtp.gmail.com with ESMTPSA id 83sm32849688qkz.73.2018.11.01.21.13.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 21:14:00 -0700 (PDT) From: Ricardo Martincoski To: buildroot@buildroot.org Date: Fri, 2 Nov 2018 01:12:40 -0300 Message-Id: <20181102041241.28910-12-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181102041241.28910-1-ricardo.martincoski@gmail.com> References: <20181102041241.28910-1-ricardo.martincoski@gmail.com> In-Reply-To: <20181016004230.10393-1-ricardo.martincoski@gmail.com> References: <20181016004230.10393-1-ricardo.martincoski@gmail.com> Subject: [Buildroot] [PATCH v2 11/12] support/testing: rename python* test cases X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Asaf Kahlon , Ricardo Martincoski MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" TestPython[23] actually test the interpreter, so rename them to TestPythonInterpreter[23]. There is no need to repeat "PythonPy" for test cases that test python packages, so rename TestPythonPy[23]Autobahn to TestPython[23]Autobahn and do the same for the other test cases. Signed-off-by: Ricardo Martincoski Cc: Arnout Vandecappelle Cc: Asaf Kahlon Cc: Thomas Petazzoni Cc: Yegor Yefremov --- Changes v1 -> v2: - new patch (see review of http://patchwork.ozlabs.org/patch/984425/); --- .gitlab-ci.yml | 28 +++++++++---------- support/testing/tests/package/test_python.py | 4 +-- .../tests/package/test_python_autobahn.py | 4 +-- .../tests/package/test_python_cryptography.py | 4 +-- .../tests/package/test_python_incremental.py | 4 +-- .../tests/package/test_python_twisted.py | 4 +-- .../tests/package/test_python_txaio.py | 4 +-- .../tests/package/test_python_txtorcon.py | 4 +-- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5fbdcb0d8..7addd64df8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -311,20 +311,20 @@ tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test tests.package.test_dropbear.TestDropbear: *runtime_test tests.package.test_ipython.TestIPythonPy2: *runtime_test tests.package.test_ipython.TestIPythonPy3: *runtime_test -tests.package.test_python.TestPython2: *runtime_test -tests.package.test_python.TestPython3: *runtime_test -tests.package.test_python_autobahn.TestPythonPy2Autobahn: *runtime_test -tests.package.test_python_autobahn.TestPythonPy3Autobahn: *runtime_test -tests.package.test_python_cryptography.TestPythonPy2Cryptography: *runtime_test -tests.package.test_python_cryptography.TestPythonPy3Cryptography: *runtime_test -tests.package.test_python_incremental.TestPythonPy2Incremental: *runtime_test -tests.package.test_python_incremental.TestPythonPy3Incremental: *runtime_test -tests.package.test_python_twisted.TestPythonPy2Twisted: *runtime_test -tests.package.test_python_twisted.TestPythonPy3Twisted: *runtime_test -tests.package.test_python_txaio.TestPythonPy2Txaio: *runtime_test -tests.package.test_python_txaio.TestPythonPy3Txaio: *runtime_test -tests.package.test_python_txtorcon.TestPythonPy2Txtorcon: *runtime_test -tests.package.test_python_txtorcon.TestPythonPy3Txtorcon: *runtime_test +tests.package.test_python.TestPythonInterpreter2: *runtime_test +tests.package.test_python.TestPythonInterpreter3: *runtime_test +tests.package.test_python_autobahn.TestPython2Autobahn: *runtime_test +tests.package.test_python_autobahn.TestPython3Autobahn: *runtime_test +tests.package.test_python_cryptography.TestPython2Cryptography: *runtime_test +tests.package.test_python_cryptography.TestPython3Cryptography: *runtime_test +tests.package.test_python_incremental.TestPython2Incremental: *runtime_test +tests.package.test_python_incremental.TestPython3Incremental: *runtime_test +tests.package.test_python_twisted.TestPython2Twisted: *runtime_test +tests.package.test_python_twisted.TestPython3Twisted: *runtime_test +tests.package.test_python_txaio.TestPython2Txaio: *runtime_test +tests.package.test_python_txaio.TestPython3Txaio: *runtime_test +tests.package.test_python_txtorcon.TestPython2Txtorcon: *runtime_test +tests.package.test_python_txtorcon.TestPython3Txtorcon: *runtime_test tests.package.test_rust.TestRust: *runtime_test tests.package.test_rust.TestRustBin: *runtime_test tests.package.test_syslog_ng.TestSyslogNg: *runtime_test diff --git a/support/testing/tests/package/test_python.py b/support/testing/tests/package/test_python.py index bc2e14a1ed..e35df8336c 100644 --- a/support/testing/tests/package/test_python.py +++ b/support/testing/tests/package/test_python.py @@ -67,11 +67,11 @@ class TestPythonInterpreter(): self.zlib_test() -class TestPython2(TestPythonInterpreter, TestPythonBase2): +class TestPythonInterpreter2(TestPythonInterpreter, TestPythonBase2): version_string = "Python 2" -class TestPython3(TestPythonInterpreter, TestPythonBase3): +class TestPythonInterpreter3(TestPythonInterpreter, TestPythonBase3): version_string = "Python 3" diff --git a/support/testing/tests/package/test_python_autobahn.py b/support/testing/tests/package/test_python_autobahn.py index b32a428fd8..336e2af1d8 100644 --- a/support/testing/tests/package/test_python_autobahn.py +++ b/support/testing/tests/package/test_python_autobahn.py @@ -9,9 +9,9 @@ class TestPythonAutobahn(TestPythonPackageBase): sample_scripts = ["tests/package/sample_python_autobahn.py"] -class TestPythonPy2Autobahn(TestPythonAutobahn, TestPythonBase2): +class TestPython2Autobahn(TestPythonAutobahn, TestPythonBase2): pass -class TestPythonPy3Autobahn(TestPythonAutobahn, TestPythonBase3): +class TestPython3Autobahn(TestPythonAutobahn, TestPythonBase3): pass diff --git a/support/testing/tests/package/test_python_cryptography.py b/support/testing/tests/package/test_python_cryptography.py index 5f380b2750..72d4a915cf 100644 --- a/support/testing/tests/package/test_python_cryptography.py +++ b/support/testing/tests/package/test_python_cryptography.py @@ -10,9 +10,9 @@ class TestPythonCryptography(TestPythonPackageBase): timeout = 40 -class TestPythonPy2Cryptography(TestPythonCryptography, TestPythonBase2): +class TestPython2Cryptography(TestPythonCryptography, TestPythonBase2): pass -class TestPythonPy3Cryptography(TestPythonCryptography, TestPythonBase3): +class TestPython3Cryptography(TestPythonCryptography, TestPythonBase3): pass diff --git a/support/testing/tests/package/test_python_incremental.py b/support/testing/tests/package/test_python_incremental.py index 22dde5e358..f45a681945 100644 --- a/support/testing/tests/package/test_python_incremental.py +++ b/support/testing/tests/package/test_python_incremental.py @@ -10,9 +10,9 @@ class TestPythonIncremental(TestPythonPackageBase): timeout = 30 -class TestPythonPy2Incremental(TestPythonIncremental, TestPythonBase2): +class TestPython2Incremental(TestPythonIncremental, TestPythonBase2): pass -class TestPythonPy3Incremental(TestPythonIncremental, TestPythonBase3): +class TestPython3Incremental(TestPythonIncremental, TestPythonBase3): pass diff --git a/support/testing/tests/package/test_python_twisted.py b/support/testing/tests/package/test_python_twisted.py index fa83620e5e..30eab234ec 100644 --- a/support/testing/tests/package/test_python_twisted.py +++ b/support/testing/tests/package/test_python_twisted.py @@ -24,9 +24,9 @@ class TestPythonTwisted(TestPythonPackageBase): self.assertEqual(exit_code, 0) -class TestPythonPy2Twisted(TestPythonTwisted, TestPythonBase2): +class TestPython2Twisted(TestPythonTwisted, TestPythonBase2): pass -class TestPythonPy3Twisted(TestPythonTwisted, TestPythonBase3): +class TestPython3Twisted(TestPythonTwisted, TestPythonBase3): pass diff --git a/support/testing/tests/package/test_python_txaio.py b/support/testing/tests/package/test_python_txaio.py index 76e5f5230f..2e00e40d16 100644 --- a/support/testing/tests/package/test_python_txaio.py +++ b/support/testing/tests/package/test_python_txaio.py @@ -1,7 +1,7 @@ from tests.package.test_python import TestPythonPackageBase, TestPythonBase2, TestPythonBase3 -class TestPythonPy2Txaio(TestPythonPackageBase, TestPythonBase2): +class TestPython2Txaio(TestPythonPackageBase, TestPythonBase2): config_package = \ """ BR2_PACKAGE_PYTHON_TXAIO=y @@ -10,7 +10,7 @@ class TestPythonPy2Txaio(TestPythonPackageBase, TestPythonBase2): sample_scripts = ["tests/package/sample_python_txaio_twisted.py"] -class TestPythonPy3Txaio(TestPythonPackageBase, TestPythonBase3): +class TestPython3Txaio(TestPythonPackageBase, TestPythonBase3): config_package = \ """ BR2_PACKAGE_PYTHON_TXAIO=y diff --git a/support/testing/tests/package/test_python_txtorcon.py b/support/testing/tests/package/test_python_txtorcon.py index 2ac8130231..b211259531 100644 --- a/support/testing/tests/package/test_python_txtorcon.py +++ b/support/testing/tests/package/test_python_txtorcon.py @@ -10,9 +10,9 @@ class TestPythonTxtorcon(TestPythonPackageBase): timeout = 30 -class TestPythonPy2Txtorcon(TestPythonTxtorcon, TestPythonBase2): +class TestPython2Txtorcon(TestPythonTxtorcon, TestPythonBase2): pass -class TestPythonPy3Txtorcon(TestPythonTxtorcon, TestPythonBase3): +class TestPython3Txtorcon(TestPythonTxtorcon, TestPythonBase3): pass