diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-08-27 09:58:14 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-08-27 10:19:08 +0200 |
commit | 3543e666c2fc62c698e557a5636d82786ba0ec8a (patch) | |
tree | 07247febbb260da3f638be27d68b9310ac19d928 /dev-cpp | |
parent | dev-cpp/libjson-rpc-cpp: Drop old (diff) | |
download | gentoo-3543e666c2fc62c698e557a5636d82786ba0ec8a.tar.gz gentoo-3543e666c2fc62c698e557a5636d82786ba0ec8a.tar.bz2 gentoo-3543e666c2fc62c698e557a5636d82786ba0ec8a.zip |
dev-cpp/libjson-rpc-cpp: Restrict tests to -j1
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild | 6 | ||||
-rw-r--r-- | dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild index 246a2d7a8093..26d68e2e5f1b 100644 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild +++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.7.0.ebuild @@ -45,6 +45,12 @@ src_compile() { use doc && emake -C "${BUILD_DIR}" doc } +src_test() { + # Tests fail randomly when run in parallel + local MAKEOPTS=-j1 + cmake-utils_src_test +} + src_install() { cmake-utils_src_install diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild index b74cd08b36cf..1c4eadd6e08f 100644 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild +++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild @@ -47,6 +47,12 @@ src_compile() { use doc && emake -C "${BUILD_DIR}" doc } +src_test() { + # Tests fail randomly when run in parallel + local MAKEOPTS=-j1 + cmake-utils_src_test +} + src_install() { cmake-utils_src_install |