summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2021-01-03 15:29:59 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2021-01-03 15:29:59 +0100
commit19f1412f72d7aec7ba5d85c9585fa2d1fc5b5c1e (patch)
tree73ebf8acc76137e3607d04b8d8992e9c28255e06 /tests
parent59294395b32f55a0216ef52b1b3b328102a78d49 (diff)
downloadgmp-19f1412f72d7aec7ba5d85c9585fa2d1fc5b5c1e.tar.gz
tests/mpn/toom-sqr-shared.h: Run additional test, if available
Diffstat (limited to 'tests')
-rw-r--r--tests/mpn/toom-sqr-shared.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/mpn/toom-sqr-shared.h b/tests/mpn/toom-sqr-shared.h
index e57ac8d9a..8bab8e1cb 100644
--- a/tests/mpn/toom-sqr-shared.h
+++ b/tests/mpn/toom-sqr-shared.h
@@ -31,6 +31,10 @@ the GNU MP Library test suite. If not, see https://www.gnu.org/licenses/. */
#define COUNT 2000
#endif
+#ifdef MORE_SQR_TESTS
+void MORE_SQR_TESTS (gmp_randstate_ptr);
+#endif
+
int
main (int argc, char **argv)
{
@@ -110,6 +114,10 @@ main (int argc, char **argv)
}
}
TMP_FREE;
+
+#ifdef MORE_SQR_TESTS
+ MORE_SQR_TESTS (rands);
+#endif
}
tests_end ();