summaryrefslogtreecommitdiff
path: root/tests/tprintf.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-05 09:13:13 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-05 09:13:13 +0000
commitc9c8373f3827cac1a1ce18700b1cd85b7425a814 (patch)
tree11df738c296634c0dea0962217416d34d94c7bc4 /tests/tprintf.c
parentb4d1e77c10bdea1fc35a60b4546fe5cf22efd3ae (diff)
downloadmpfr-c9c8373f3827cac1a1ce18700b1cd85b7425a814.tar.gz
[tests]
* tfprintf.c, tout_str.c, tprintf.c: Do not use the same filename for result files created in these test programs, as this breaks parallel tests (note that such files are used only if /dev/null does not work, so that Unix-like systems were not affected). This should fix the bug reported in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00000.html as said in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00005.html * Makefile.am: added a CLEANFILES line with these files. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11698 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tprintf.c')
-rw-r--r--tests/tprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tprintf.c b/tests/tprintf.c
index 20c7a658c..b0fac661b 100644
--- a/tests/tprintf.c
+++ b/tests/tprintf.c
@@ -536,7 +536,7 @@ main (int argc, char *argv[])
if (freopen ("/dev/null", "w", stdout) == NULL)
{
/* We failed to open this device, try with a dummy file */
- if (freopen ("mpfrtest.txt", "w", stdout) == NULL)
+ if (freopen ("tprintf_out.txt", "w", stdout) == NULL)
{
/* Output the error message to stderr since it is not
a message about a wrong result in MPFR. Anyway the