Commit Graph

248 Commits (553153af3b1cbd0cf39ebf7f6c2b217beb38e8ce)

Author SHA1 Message Date
Xavier Leroy 0a036f4dfb Reorganized the tests for recursive modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8989 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 09:29:57 +00:00
Xavier Leroy 2932b18875 PR#4512: check early for bad recursive type definitions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8987 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 08:39:14 +00:00
Xavier Leroy 22edd41120 PR#4578, PR#4266: for 'include' constructs, recursively approximate instead of fully elaborating in initial environment.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 08:25:09 +00:00
Xavier Leroy 7e9f606dee PR#4338: tail recursion in global_substitute, global_replace, and *split*
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 12:27:13 +00:00
Alain Frisch 20bc66eb25 Enable to (old) -dlcode option by default. -nodynlink disables it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8916 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-15 15:31:32 +00:00
Pierre Weis 4a2a6b8aac Files *.out are now left over files to be reported by cvs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8914 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 13:03:08 +00:00
Pierre Weis 8989511ebc Cleaning in main directory left spurious .cm* files here.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8913 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 13:00:33 +00:00
Xavier Leroy 91d39feb72 PR#4223, PR#1508: added unsafe variants of Bigarray.Array{1,2,3}.{get,set}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 09:09:53 +00:00
Xavier Leroy 640b24249d Ability to print and capture exception backtraces (see stdlib module Printexc)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-14 13:47:24 +00:00
Luc Maranget d7a40d5605 morematch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8830 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-12 09:09:02 +00:00
Luc Maranget 3fd5bde3d0 morematch.ml more precise
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-11 14:31:02 +00:00
Xavier Leroy 7b4d9a46a3 New API for registration of global memory roots that are scanned in a generational manner
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-10 19:56:39 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Damien Doligez db2092907f fixed big performance bug in weak hash tables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 11:55:36 +00:00
Xavier Leroy 4235c38b7f Cleanup
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-03 09:17:48 +00:00
Pierre Weis 7fb9c3cba8 Adding a test for type based optimization for private abbrevs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:22:35 +00:00
Alain Frisch b80de0f7da More tests.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 09:21:31 +00:00
Alain Frisch 32abe25b89 Same in native code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 16:09:57 +00:00
Alain Frisch 223f7bbfea Improve -output-obj: can now build directly a dynamic library (with all the ccobjs/ccopts); can also produces simply the uncompiled .c file (e.g. to debug). The output name (-o) is now mandatory when -output-obj is used, and only an extension amongst .c, EXT_OBJ, EXT_DLL is allowed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8522 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 15:18:28 +00:00
Alain Frisch 4944313b0c Make it work under Win64.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 18:03:15 +00:00
Alain Frisch a0679180a1 Under OpenBSD, one needs to link the pthread library in the main program.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8495 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 11:04:40 +00:00
Alain Frisch 90addd658c *** empty log message ***
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8493 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 10:08:21 +00:00
Pierre Weis fb36a0d09e Ignoring .bin binaries.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8483 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 21:07:23 +00:00
Pierre Weis 4ca0dc6cff Adding a test for private abbrevs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8482 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 21:06:18 +00:00
Alain Frisch 2cc37daa2e Test outputobj.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8480 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 16:27:00 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Xavier Leroy d27adbc9c3 Bigarray.*.map_subfile replaced by an optional argument to Bigarray.*.map_file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7891 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-21 15:16:53 +00:00
Pierre Weis 24003c9ff6 Adding a rule to clean the directory Moretest.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7854 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 08:17:27 +00:00
Xavier Leroy 4b5512c74c Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Pierre Weis 450793a7fb Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7807 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-22 10:13:22 +00:00
Pierre Weis 17e1ddf8f7 Format_from_string specification changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7707 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-27 09:12:32 +00:00
Pierre Weis cdb375626e Test numbers were garbled...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 09:56:51 +00:00
Pierre Weis d0f5ea9f91 Adding tests on file scanning.
Adding tests on format string scanning from strings.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7676 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 09:45:55 +00:00
Xavier Leroy a5271a1845 Added map_subfile functions (memory mapping from a non-zero file offset). Win32 implementation is untested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-10 14:15:43 +00:00
Xavier Leroy 0b0804968f Unix/Windows mistake
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-31 08:15:20 +00:00
Xavier Leroy ba4c947638 Utiliser diff -b -q au lieu de cmp, utile pour Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7412 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:04:25 +00:00
Pierre Weis 81df457c9e Code review before new typing of format string.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:53:32 +00:00
Pierre Weis abc46ae8d3 Adding tests for positional parameters.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7334 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-24 11:14:22 +00:00
Pierre Weis d512553e5e Adding a test suite for the Printf module.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-20 10:14:47 +00:00
Pierre Weis f5c8363ce1 Adding a test for scanning of native, int32 and int64 integers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7328 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-18 17:17:40 +00:00
Pierre Weis 7bab155c6e A small module to factorize testing auxilliary functions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7325 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-12 12:52:14 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Xavier Leroy 7df7bda91d MAJ des benchs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7017 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-12 09:22:04 +00:00
Pierre Weis ea42810e92 Testing difference between @\n and \n.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-22 17:27:17 +00:00
Pierre Weis 6fae6a771a A subtile bug in scanf: stopper character have not to be always
present in the input (in this case the token spreads to the end of
file, as specified, and this is not an error!).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-02 21:10:04 +00:00
Pierre Weis f269a30281 Adding a new test for scanf: two concurrent processes communicating
via stdin/stdout (this example tests proper treatment of end of file
and \n at end of string; more precisely, this test finely tests char
lookaheads and char lookahead attempts, since a spurious lookahead
attempt may lead to a deadlock between the reader and the writer (in
the example the slave and the master)).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6945 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 12:39:43 +00:00
Pierre Weis 7dc2ff0178 Added a test for simple string scanning (incredible: it was missing!.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 12:08:34 +00:00
Pierre Weis daee11142a Last added test was bogous.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 09:05:21 +00:00
Pierre Weis 057318d59a Adding more tests for range of chars and end of file testing.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6938 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-07-01 08:13:05 +00:00