summaryrefslogtreecommitdiff
path: root/tests/mpn
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mpn')
-rw-r--r--tests/mpn/t-bdiv.c2
-rw-r--r--tests/mpn/t-hgcd.c7
-rw-r--r--tests/mpn/t-invert.c1
-rw-r--r--tests/mpn/t-matrix22.c1
-rw-r--r--tests/mpn/t-mullo.c1
-rw-r--r--tests/mpn/t-mulmod_bnm1.c1
-rw-r--r--tests/mpn/t-sqrmod_bnm1.c1
-rw-r--r--tests/mpn/toom-shared.h2
8 files changed, 16 insertions, 0 deletions
diff --git a/tests/mpn/t-bdiv.c b/tests/mpn/t-bdiv.c
index 3300fc05b..b21c959c4 100644
--- a/tests/mpn/t-bdiv.c
+++ b/tests/mpn/t-bdiv.c
@@ -204,5 +204,7 @@ main (int argc, char **argv)
}
}
TMP_FREE;
+
+ tests_end ();
return 0;
}
diff --git a/tests/mpn/t-hgcd.c b/tests/mpn/t-hgcd.c
index f2e3692ff..38f56f4a5 100644
--- a/tests/mpn/t-hgcd.c
+++ b/tests/mpn/t-hgcd.c
@@ -162,6 +162,13 @@ main (int argc, char **argv)
one_test (op1, op2, i);
}
+ mpz_clear (bs);
+ mpz_clear (op1);
+ mpz_clear (op2);
+ mpz_clear (temp1);
+ mpz_clear (temp2);
+
+ tests_end ();
exit (0);
}
diff --git a/tests/mpn/t-invert.c b/tests/mpn/t-invert.c
index 76a59955e..7f747513f 100644
--- a/tests/mpn/t-invert.c
+++ b/tests/mpn/t-invert.c
@@ -156,5 +156,6 @@ main (int argc, char **argv)
}
}
TMP_FREE;
+ tests_end ();
return 0;
}
diff --git a/tests/mpn/t-matrix22.c b/tests/mpn/t-matrix22.c
index 98cfab386..7521df0e1 100644
--- a/tests/mpn/t-matrix22.c
+++ b/tests/mpn/t-matrix22.c
@@ -202,5 +202,6 @@ main (int argc, char **argv)
matrix_clear (&A);
matrix_clear (&B);
+ tests_end ();
return 0;
}
diff --git a/tests/mpn/t-mullo.c b/tests/mpn/t-mullo.c
index f91ff064b..b44e23615 100644
--- a/tests/mpn/t-mullo.c
+++ b/tests/mpn/t-mullo.c
@@ -137,5 +137,6 @@ main (int argc, char **argv)
}
}
TMP_FREE;
+ tests_end ();
return 0;
}
diff --git a/tests/mpn/t-mulmod_bnm1.c b/tests/mpn/t-mulmod_bnm1.c
index f4fdf836e..d24f69dd6 100644
--- a/tests/mpn/t-mulmod_bnm1.c
+++ b/tests/mpn/t-mulmod_bnm1.c
@@ -212,5 +212,6 @@ main (int argc, char **argv)
}
}
TMP_FREE;
+ tests_end ();
return 0;
}
diff --git a/tests/mpn/t-sqrmod_bnm1.c b/tests/mpn/t-sqrmod_bnm1.c
index 85346c9f8..0a0738c99 100644
--- a/tests/mpn/t-sqrmod_bnm1.c
+++ b/tests/mpn/t-sqrmod_bnm1.c
@@ -184,5 +184,6 @@ main (int argc, char **argv)
}
}
TMP_FREE;
+ tests_end ();
return 0;
}
diff --git a/tests/mpn/toom-shared.h b/tests/mpn/toom-shared.h
index 1a820c727..57b3181c1 100644
--- a/tests/mpn/toom-shared.h
+++ b/tests/mpn/toom-shared.h
@@ -152,5 +152,7 @@ main (int argc, char **argv)
}
}
TMP_FREE;
+
+ tests_end ();
return 0;
}