summaryrefslogtreecommitdiff
path: root/community/aubio
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-03-07 12:11:17 +0100
committerErich Eckner <git@eckner.net>2019-03-07 12:11:17 +0100
commit20d0060b518e9d4a209b2e5209d34f1a54027660 (patch)
treeb335e80c20d309661b4f22fb443c1fa2cbe6cb2e /community/aubio
parentdd4db75b64263643e992c31752a457138f9dfbb9 (diff)
downloadpackages-20d0060b518e9d4a209b2e5209d34f1a54027660.tar.xz
community/aubio: tests should /ALL/ check for almost-equal instead of equal
Diffstat (limited to 'community/aubio')
-rw-r--r--community/aubio/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/aubio/PKGBUILD b/community/aubio/PKGBUILD
new file mode 100644
index 00000000..7732c0d3
--- /dev/null
+++ b/community/aubio/PKGBUILD
@@ -0,0 +1,6 @@
+eval "$(
+ declare -f prepare | \
+ sed '
+ /^{/ a find "${pkgbase}-${pkgver}/python/tests" -type f -exec sed -i "s/assert_equal/assert_almost_equal/" {} \;
+ '
+)"