Commit Graph

23 Commits (master)

Author SHA1 Message Date
David Allsopp 48e7150cc8 Testsuite is not parallel 2020-02-26 10:08:56 +00:00
David Allsopp 67c011b883
Revert "AppVeyor speed-ups" 2020-04-20 09:55:54 +01:00
David Allsopp 2ddcdf10a8 Testsuite is not parallel 2020-02-26 10:08:56 +00:00
David Allsopp 13786d7d12 Ensure make distclean works on an unconfigured tree 2019-10-15 11:46:36 +01:00
Sébastien Hinderer 987b0814d7 Let make's default target build the compiler
This commit makes it possible to build the OCaml compiler according to
its configuration by simply runnning make. There is no need to specify
neither world nor world.opt explicitly, although the two targets
remain available.

This commit also introduces (and starts making use of) the
NATIVE_COMPILER build variable whosse value is true when the native
compiler is enabled and false otherwise.
2019-09-30 16:01:29 +02:00
Sébastien Hinderer de8168c303 Make sure the build variables are defined 2019-05-17 13:58:03 +02:00
Fourchaux 1946594bd7 Fixing typos in various files (#2246)
Note: Typos found with https://github.com/codespell-project/codespell

Here is the (semi-manual) command used to get (and correct) the typos:

$ codespell -i 3 -w --skip=".png,.gif,./ocaml/boot,./ocaml/.git,./ocaml/manual/styles,./ocaml/manual/manual/htmlman" -L minimise,instal,contructor,"o'caml",cristal,pres,clos,cmo,uint,iff,te,objext,nto,nd,mut,upto,larg,exten,leage,mthod,delte,tim,atleast,langage,hten,iwth,mke,contant,succint,methids,eles,valu,clas,modul,que,classe,missings,froms,defaut,correspondance,differents,configury,reachs,cas,approche,normale,dur,millon,amin,oje,transfert
2019-02-13 14:04:56 +01:00
David Allsopp a1b485a5a0 Restore copyright header for testsuite/lib/lib.ml
Taken from 979f6f2, and updated.
2018-06-13 09:37:49 +01:00
Sébastien Hinderer 64b747c5ba Migrate the tool-ocaml tests to ocamltest 2018-04-06 09:49:00 +02:00
Sébastien Hinderer 8566eb4e2c testsuite: provide the testing component as a library
A few tests rely on a Testing module located in testsuite/lib.

The legacy testing infrastructure links it into the programs that
use it as a module, but in the context of ocamltest it seems better
to provide testing as a library.

This commit thus modifies the build system of the testsuite to
also build testing as a library, both in bytecode and native formats.
2017-09-18 17:40:14 +02:00
octachron 199575a57a Manual: move Makefile.tools to root directory
Since, Makefile.tools is used by both the testsuite and the manual, it
should be moved to the first common ancestor of the two subdirectories:
the root directory.

Note: also remove testsuite/lib/empty and use noinit when invoking the
ocaml interpreter.
2016-04-25 13:19:37 +02:00
Damien Doligez 5401ce8473 Update headers for the new license.
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Damien Doligez 178c0d1d41 testsuite: continue making it work without installing OCaml; also make it independent of the user's .ocamlinit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 19:48:04 +00:00
Damien Doligez c2b3a61ef9 testsuite: simplification of the BYTECODE_ONLY macro
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 18:34:30 +00:00
Damien Doligez 443aca36ae whitespace, non-ascii chars, some missing headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17 20:09:16 +00:00
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez 997a678d5e clean up TABs and whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Xavier Clerc a4f3f01982 Fixed conditional compilation of "testing.cmx" (testsuite)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12240 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 10:22:07 +00:00
Wojciech Meyer d04fc95db5 PR#5512: Test suite improvement wrt. to packaging. Slightly modified patch by Stephane Glondu
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-10 02:25:53 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez c91db736b1 merge changes from 3.12.0 to 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Xavier Clerc 6b5603562f testsuite: added a "promote" target copying actual results to waited reference (for a given test).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11095 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 12:14:14 +00:00
Xavier Clerc ec6686630c Infrastructure for test suite.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9562 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 13:47:28 +00:00