From patchwork Mon May 13 18:47:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 1099085 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 452qYs6Bvvz9sBb for ; Tue, 14 May 2019 04:47:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A1B5C84F75; Mon, 13 May 2019 18:47:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0wotVlbB2GjG; Mon, 13 May 2019 18:47:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 7317684FBB; Mon, 13 May 2019 18:47:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0C0BA1BF296 for ; Mon, 13 May 2019 18:47:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 08AB884FBB for ; Mon, 13 May 2019 18:47:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B68B7IALlpk9 for ; Mon, 13 May 2019 18:47:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6F3F584F75 for ; Mon, 13 May 2019 18:47:21 +0000 (UTC) X-Originating-IP: 83.204.95.51 Received: from localhost (anantes-658-1-64-51.w83-204.abo.wanadoo.fr [83.204.95.51]) (Authenticated sender: thomas.petazzoni@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 8DCB120008; Mon, 13 May 2019 18:47:17 +0000 (UTC) From: Thomas Petazzoni To: buildroot@buildroot.org Date: Mon, 13 May 2019 20:47:10 +0200 Message-Id: <20190513184710.19747-1-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] support/testing/tests: drop Python 2.x test in test_ipython 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: Andrey Smirnov , Fabrice Fontaine , Thomas Petazzoni , Ricardo Martincoski Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since commit 6ebaef3818d6e3dc821616a33391eb6d594a053e ("package/python-ipython: bump to version 7.4.0"), ipython is no longer available for Python 2.x, as it requires Python 3.x. However, the corresponding test case that was testing iPython under Python 2.x was not removed at the same time, causing a failure of TestIPythonPy2 test. Let's drop the test that is no longer relevant. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/210208754 Cc: Fabrice Fontaine Cc: Andrey Smirnov Signed-off-by: Thomas Petazzoni --- .gitlab-ci.yml | 1 - support/testing/tests/package/test_ipython.py | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 374dbfe837..836944faf5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -361,7 +361,6 @@ tests.package.test_atop.TestAtop: { extends: .runtime_test } tests.package.test_docker_compose.TestDockerCompose: { extends: .runtime_test } tests.package.test_dropbear.TestDropbear: { extends: .runtime_test } tests.package.test_glxinfo.TestGlxinfo: { extends: .runtime_test } -tests.package.test_ipython.TestIPythonPy2: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test } tests.package.test_lpeg.TestLuaLPeg: { extends: .runtime_test } tests.package.test_lpeg.TestLuajitLPeg: { extends: .runtime_test } diff --git a/support/testing/tests/package/test_ipython.py b/support/testing/tests/package/test_ipython.py index 3b291d9583..50b00da7c2 100644 --- a/support/testing/tests/package/test_ipython.py +++ b/support/testing/tests/package/test_ipython.py @@ -8,20 +8,6 @@ from tests.package.test_python import TestPythonBase # does, so this test ends up being a false-negative -class TestIPythonPy2(TestPythonBase): - config = TestPythonBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_IPYTHON=y - """ - interpreter = "ipython" - - def test_run(self): - self.login() - self.math_floor_test(40) - self.libc_time_test(40) - - class TestIPythonPy3(TestPythonBase): config = TestPythonBase.config + \ """