summaryrefslogtreecommitdiff
path: root/sci-libs/m4ri/files/m4ri-20200125-testfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/m4ri/files/m4ri-20200125-testfix.patch')
-rw-r--r--sci-libs/m4ri/files/m4ri-20200125-testfix.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-libs/m4ri/files/m4ri-20200125-testfix.patch b/sci-libs/m4ri/files/m4ri-20200125-testfix.patch
new file mode 100644
index 000000000000..cd45acac4d69
--- /dev/null
+++ b/sci-libs/m4ri/files/m4ri-20200125-testfix.patch
@@ -0,0 +1,31 @@
+From 0643268f316af1150ea2631d27fd1533f5994bb8 Mon Sep 17 00:00:00 2001
+From: "Martin R. Albrecht" <martinralbrecht@googlemail.com>
+Date: Wed, 6 May 2020 13:15:44 +0100
+Subject: [PATCH] don't test things we forbid
+
+fixes #75
+---
+ tests/test_misc.c | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/tests/test_misc.c b/tests/test_misc.c
+index b1a2e32..0ccddb3 100644
+--- a/tests/test_misc.c
++++ b/tests/test_misc.c
+@@ -130,11 +130,11 @@ int main(int argc, char *argv[]) {
+ status += test_submatrix(2, 130, 1, 1, 2, 130);
+ status += test_submatrix(2, 131, 1, 1, 2, 131);
+
+- status += test_submatrix(2, 63, 1, 1, 1, 63);
+- status += test_submatrix(2, 64, 1, 1, 1, 64);
+- status += test_submatrix(2, 65, 1, 1, 1, 65);
+- status += test_submatrix(2, 66, 1, 1, 1, 66);
+- status += test_submatrix(2, 67, 1, 1, 1, 67);
++ status += test_submatrix(2, 63, 1, 1, 2, 63);
++ status += test_submatrix(2, 64, 1, 1, 2, 64);
++ status += test_submatrix(2, 65, 1, 1, 2, 65);
++ status += test_submatrix(2, 66, 1, 1, 2, 66);
++ status += test_submatrix(2, 67, 1, 1, 2, 67);
+
+ status += test_submatrix(2, 127, 1, 63, 2, 127);
+ status += test_submatrix(2, 128, 1, 64, 2, 128);