summaryrefslogtreecommitdiff
path: root/dev-util/bats
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-17 11:36:49 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-17 11:36:49 +0100
commite2db47eaae00ec33f8971db44b68645c5d3b9590 (patch)
tree3ec0cf16ddb5854017e134fabebe14bf8cb94a34 /dev-util/bats
parent616579b5d773c50af31ee56f00105d96ce641ca2 (diff)
gentoo resync : 17.08.2021
Diffstat (limited to 'dev-util/bats')
-rw-r--r--dev-util/bats/Manifest2
-rw-r--r--dev-util/bats/bats-1.4.1.ebuild8
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest
index a1e7c97d1e6d..700b4577ff96 100644
--- a/dev-util/bats/Manifest
+++ b/dev-util/bats/Manifest
@@ -1,5 +1,5 @@
DIST bats-1.3.0.tar.gz 78392 BLAKE2B 5dbc87ee87aba0b001d25f1304939604b1682603fb0d2fae19f852171e8bd76f1a6c262b661a373aeeb9b79818eae3387b3e4d6bcf4f0f95b87dc2430caf029f SHA512 47f67681b380a70863805691eca39532af76670b7bba2406293c58f95cbbe3dade4f792177ee00d8ca72684731efb6db2c1ca8eeabe2fa48359e81c257f95b2c
DIST bats-1.4.1.tar.gz 98964 BLAKE2B e7cb70d2d0f448e4336ccf1fe51e93730a7179a782247e28ee906eb576fc02305aeeb2a580b5d34220daf8dfd2ee1d3269fb86a386fdf00483bd3b234df3b75e SHA512 3b00af13ac97d38349f09db79179e170e2b37c5364815e0e1fb957e6593a564d291bb50c54776088dd5784ef8cd597f0c332ec3a574bcef65e3083a5f2fc1f0e
EBUILD bats-1.3.0.ebuild 814 BLAKE2B eb9e4b8b39ccf123feb41ff3afc027537d9fcfc157b74c252cd37829ebb99a741c82dd710e6787636fcc96140894f810da5243de41122fea3fa890ca8b3c86a4 SHA512 9b8d60b1748431da443626a04672a547e2b6a217344e4c06653835a13d4ad035d5b8a430c72077bb37998468710acaf4d3f74f4a6d6e8dc2a3bb5c6daa25594d
-EBUILD bats-1.4.1.ebuild 817 BLAKE2B dc2fbac0428857444bf8928715ce2c076df9bb7eb92a3b286a78425a87ec5b11fc5f9bfafc7efd1329973f60421744ad3e0e55dfe2ca776451ba449cae5a5e34 SHA512 dc1c5d1d9e36f7c6181f87a4d609be36a00606d235d9cca844476d57d04ac67983cdc46487c6e6db81ee142d2591f7984b3fe8dfd1534b5524a80c8b604a4d0e
+EBUILD bats-1.4.1.ebuild 933 BLAKE2B 4618a1a1b3c19189415a6b331a23cc33b7406fd361b108a5739b663a84c771c20160d0b06932fa589e3f2ff1c46ceddc13d30694b035bd9acae14b1ddd458f7c SHA512 6c915b4bdc4d3d5b859e981dace960d10f748ae8aa4b605fce79caf103d2d2cd6b2b2941f2269dbd16292dd42681f4e68afaefa049f8fbf7b4ea2d3e522be6cf
MISC metadata.xml 959 BLAKE2B cc406ff1f1902059d614efb8ff9742348c4518403c38dd4f4bfdc78f56dd5b620a79e12cae4fe7f2e4084caba34a68026583be38ab2eeb676907deb180088256 SHA512 e3b0bb9b821c9f93ef85d9e5707402b8401e1ca9b4d68b26e63884a9bdfba56d7c65068fdbc2817726ab470b16a27541dcfbc5b0e91857f67e2784de57231b66
diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild
index fba39b434202..d79c423b4e2a 100644
--- a/dev-util/bats/bats-1.4.1.ebuild
+++ b/dev-util/bats/bats-1.4.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit optfeature
+inherit multiprocessing optfeature
MY_PN="bats-core"
DESCRIPTION="Bats-core: Bash Automated Testing System"
@@ -20,7 +20,11 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
src_test() {
- bin/bats --tap test || die "Tests failed"
+ local my_jobs=$(makeopts_jobs)
+ if ! command -v parallel; then
+ my_jobs=1
+ fi
+ bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed"
}
src_install() {