From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48B05158086 for ; Sun, 12 Dec 2021 08:19:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 305CB2BC008; Sun, 12 Dec 2021 08:19:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1CC1D2BC008 for ; Sun, 12 Dec 2021 08:18:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44C05342BFF for ; Sun, 12 Dec 2021 08:18:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E57441D5 for ; Sun, 12 Dec 2021 08:18:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1639297121.75eb25cad20af177b18a87e835ab9f514742d5d2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/platformio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/platformio/platformio-5.2.3.ebuild X-VCS-Directories: dev-embedded/platformio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 75eb25cad20af177b18a87e835ab9f514742d5d2 X-VCS-Branch: master Date: Sun, 12 Dec 2021 08:18:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 818fe3d8-834b-4603-8e34-eb8e7c7c7b2d X-Archives-Hash: ce5028195abacb9388d6be86ce9f8648 commit: 75eb25cad20af177b18a87e835ab9f514742d5d2 Author: Sam James gentoo org> AuthorDate: Sun Dec 12 08:18:41 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 12 08:18:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75eb25ca dev-embedded/platformio: run tests Signed-off-by: Sam James gentoo.org> dev-embedded/platformio/platformio-5.2.3.ebuild | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/dev-embedded/platformio/platformio-5.2.3.ebuild b/dev-embedded/platformio/platformio-5.2.3.ebuild index 4e9d42889936..a76ad9f23ca8 100644 --- a/dev-embedded/platformio/platformio-5.2.3.ebuild +++ b/dev-embedded/platformio/platformio-5.2.3.ebuild @@ -17,9 +17,6 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -# Needs some more work to get running -RESTRICT="test" - RDEPEND=" $(python_gen_cond_dep ' =dev-python/aiofiles-0.7.0*[${PYTHON_USEDEP}] @@ -45,4 +42,24 @@ RDEPEND=" ')" BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )" +# This list could be refined a bit to have individual tests which need network +# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now. +EPYTEST_IGNORE=( + # Requires network access + tests/test_builder.py + tests/package/test_manager.py + tests/package/test_manifest.py + tests/commands/test_platform.py + tests/commands/test_test.py + tests/commands/test_ci.py + tests/commands/test_init.py + tests/commands/test_lib.py + tests/commands/test_lib_complex.py + tests/commands/test_boards.py + tests/commands/test_check.py + tests/test_ino2cpp.py + tests/test_maintenance.py + tests/test_misc.py +) + distutils_enable_tests pytest