diff options
author | 2017-09-28 17:40:27 +0200 | |
---|---|---|
committer | 2017-09-28 13:10:59 -0400 | |
commit | 4ab48e6c1f373ae3f56773a1b9fc31845576d705 (patch) | |
tree | 728cea30264d128714229077b9a81be3156246cd /dev-db/sqlite | |
parent | dev-db/sqlite: Fix tests on big-endian architectures (bug #630818). (diff) | |
download | gentoo-4ab48e6c1f373ae3f56773a1b9fc31845576d705.tar.gz gentoo-4ab48e6c1f373ae3f56773a1b9fc31845576d705.tar.bz2 gentoo-4ab48e6c1f373ae3f56773a1b9fc31845576d705.zip |
dev-db/sqlite: Disable tests broken on x86 (bug #628242).
Diffstat (limited to 'dev-db/sqlite')
-rw-r--r-- | dev-db/sqlite/sqlite-3.20.1-r1.ebuild | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/sqlite/sqlite-3.20.1-r1.ebuild b/dev-db/sqlite/sqlite-3.20.1-r1.ebuild index 137b7b0eeb21..6b547ffb208d 100644 --- a/dev-db/sqlite/sqlite-3.20.1-r1.ebuild +++ b/dev-db/sqlite/sqlite-3.20.1-r1.ebuild @@ -74,6 +74,18 @@ src_prepare() { eautoreconf multilib_copy_sources + + preparation() { + pushd "${BUILD_DIR}" > /dev/null || die + + if [[ "${ABI}" == "x86" ]]; then + # Disable tests broken on x86. + sed -e "/^for {set i 0} {\$i<1000} {incr i} {$/,/^}$/d" -i test/date.test || die "sed failed" + fi + + popd > /dev/null || die + } + multilib_foreach_abi preparation } multilib_src_configure() { |