diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-04-22 12:46:41 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2009-04-22 12:46:41 +0000 |
commit | f5b9fe9726ff846f926f76a183bc57c1065408ec (patch) | |
tree | 89f5e12f5eeed3d8640a27e7c57332e8ecf756c3 /tests | |
parent | 037ff090a2923aa689bb9ac0078144d0c6004e64 (diff) | |
download | mpfr-f5b9fe9726ff846f926f76a183bc57c1065408ec.tar.gz |
tests/tests.c (data_check): try to open the data file first from the
build directory, then from the source directory.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6177 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests.c b/tests/tests.c index 82843b8fc..7d5d55444 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -630,6 +630,8 @@ data_check (char *f, int (*foo) (FLIST), char *name) fp = fopen (f, "r"); if (fp == NULL) + fp = src_fopen (f, "r"); + if (fp == NULL) { char *v = (char *) MPFR_VERSION_STRING; |