summaryrefslogtreecommitdiff
path: root/tests/tio_str.c
Commit message (Collapse)AuthorAgeFilesLines
* New test framework, merged from test branch.thevenyp2014-01-201-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1416 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* fix _POSIX_C_SOURCE refinedgastineau2014-01-151-1/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1412 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* mpc-tests.h: reorganisation of commentenge2011-11-041-2/+0
| | | | | | | test files: remove inclusion of stdio.h, done via mpc-tests.h git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1116 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* replaced MPC_RE by mpc_realref and MPC_IM by mpc_imagref everywhereenge2011-11-041-4/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1112 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [tests/tio_str.c] improved error messagezimmerma2011-09-151-4/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1095 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tio_str.c: define _POSIX_C_SOURCE with a value (found on solaris)enge2011-09-081-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1090 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tio_str.c: add define so stdlib.h behaves well on darwinenge2011-08-301-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1033 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [tio_str.c] try to get rid of string.h (problem with unistd.h on x86_64-darwin)zimmerma2011-08-301-17/+16
| | | | | | | gnu style git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1032 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [tio_str.c] fixed typozimmerma2011-08-301-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1031 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* license change:enge2011-08-291-13/+12
| | | | | | | | | | | | LGPLv3+ for code FDLv1.3+ for mpc.texi simple disclaimer for supporting files (README, NEWS, INSTALL) tests/memory.c: replaced by version from mpfr-3.0.1 mpfr.texi: small cleanups; added real authors again, while keeping copyright notice with INRIA git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1027 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tio_str.c: corrected copy-paste bugenge2011-08-221-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1024 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* configure.ac, tio_str.c: renamed NO_STREAM_REDIRECTION into ↵enge2011-08-221-2/+2
| | | | | | MPC_NO_STREAM_REDIRECTION git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1023 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tio_str.c: replace fileno(stdin/out)) by STDIN/OUT_FILENOenge2011-08-221-5/+7
| | | | | | | configure.ac: remove test for fileno git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1022 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [tio_str.c] fix under Solaris (see ↵zimmerma2011-07-311-1/+1
| | | | | | http://lists.gforge.inria.fr/pipermail/mpc-discuss/2011-July/000941.html) proposed by Marc Glisse git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1017 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* finished change of copyright line into "Copyright (C) INRIA, year1, year2, ..."zimmerma2011-01-251-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@891 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* mpc-impl.h and test files: replaced macro OUT by MPC_OUTenge2011-01-131-7/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@867 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* replaced mp_prec_t and mp_exp_p in test directoryenge2010-06-111-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@779 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* added mechanism (copied from GNU MPFR 2.4.1) to check memoryzimmerma2009-11-201-3/+3
| | | | | | | | -> found one bug in atan (one variable was init two times) and one problem in tio_str.c (some variables were init before test_start) git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@724 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* [acinclude.m4] added option -D_FORTIFY_SOURCE=2 in development modeenge2009-04-061-3/+11
| | | | | | | [tio_str.c] fixed warning generated by previous option git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@532 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tio_str.c: Fix bug.thevenyp2009-03-271-3/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@511 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/inp_str.c: Read sequence of adjacent alphanumerical char through new ↵thevenyp2009-03-241-1/+3
| | | | | | | | | | functions extract_suffix and extract_string tests/inp_str.dat: adapt data to new behavior, STRING is now completely enclosed into quotes tests/tio_str.c: read string remainder if needed. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@500 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/tio_str.c: remove unused variable.thevenyp2009-03-231-11/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@499 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* correct printing of size_t in 32 bit modeenge2009-03-231-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@497 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/inp_str.dat tests/tio_str.c tests/tset.c: Increase test coverage up to ↵thevenyp2009-03-231-1/+2
| | | | | | 100% LOC git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@496 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/inp_str.c: Accept just two levels of parenthesesthevenyp2009-03-231-10/+29
| | | | | | | | tests/inp_str.dat: tests with number of read characters tests/tio_str.c: exit when error, test number of read characters. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@495 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/inp_str.dat: data in new formatthevenyp2009-03-201-139/+66
| | | | | | | tests/tio_str.c: use file functions from read_data.c git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@492 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* implementation of new mpc_inp_str semanticsenge2009-03-191-12/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@490 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* revert to UNIX format (r457 changed every file to DOS format).thevenyp2009-03-171-307/+307
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@459 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* Modify #include chain so as to support DLL creation on Cygwinthevenyp2009-03-171-308/+307
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@457 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* src/set_str.c: Fix typo.thevenyp2009-02-191-1/+1
| | | | | | | | tests/read_data.c: Fix wrong format specifier for line_number tests/tio_str.c: keep local the check_stdout function. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@417 211d60ee-9f03-0410-a15a-8952a2c7a4e4
* tests/test.c: enhance and move its tests into more specific files.thevenyp2009-02-041-0/+308
tests/tprec.c: move tests relative to mpc_set_prec/mpc_get_prec from test.c. tests/tset.c: enhance and move tests relative to mpc_set from test.c. tests/inp_str.dat: test data for tio_str.c tests/tio_str.c: test file for mpc_inp_str/mpc_out_str. tests/Makefile.am: remove test, add tprec, tset, tio_str and inp_str.dat. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@410 211d60ee-9f03-0410-a15a-8952a2c7a4e4