X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx12.valuehost.ru (mx12.valuehost.ru [217.112.42.215]) by lists.alpinelinux.org (Postfix) with ESMTP id 5BBB3F84DFA for ; Wed, 6 Feb 2019 10:32:37 +0000 (UTC) Received: from mx7.valuehost.ru (unknown [127.0.0.255]) by mx12.valuehost.ru (Postfix) with ESMTP id DBE6F5EFE1 for ; Wed, 6 Feb 2019 13:32:33 +0300 (MSK) From: alpine-mips-patches Date: Wed, 6 Feb 2019 10:10:13 +0000 Subject: [alpine-aports] [PATCH] main/py-cparser: enable tests To: alpine-aports@lists.alpinelinux.org Message-Id: <20190206103233.DBE6F5EFE1@mx12.valuehost.ru> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Built-in unit tests pass on x86_64 and mipseln8hf at least. --- main/py-cparser/APKBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main/py-cparser/APKBUILD b/main/py-cparser/APKBUILD index 83e7f35fc9..53d9c58d98 100644 --- a/main/py-cparser/APKBUILD +++ b/main/py-cparser/APKBUILD @@ -3,7 +3,7 @@ pkgname=py-cparser _pkgname=pycparser pkgver=2.19 -pkgrel=0 +pkgrel=1 pkgdesc="A C parser written in Python" url="https://github.com/eliben/pycparser" arch="noarch" @@ -20,6 +20,12 @@ build() { python3 setup.py build || return 1 } +check() { + cd "$builddir" + python2 tests/all_tests.py + python3 tests/all_tests.py +} + package() { mkdir -p "$pkgdir" } -- 2.20.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---