Gabriel Scherer
e2b662980f
testsuite/Makefile.toplevel: make terminal DUMB by default (tests rely on this)
...
Currently it is not equivalent to do:
cd testsuite; make one DIR=tests/$foo
and
cd testsuite/tests/$foo; make
because the latter will not set TERM=dumb and toplevel tests will use
nice escape-code location highlighting instead of ASCII-made squiggly
lines, which breaks the tests.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21 08:26:20 +00:00
Gabriel Scherer
14ab17aab9
harden testsuite/makefile/Makefile.dlambda wrt identifiers with quotes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-13 22:12:27 +00:00
Gabriel Scherer
f32f677f5a
minor sed portability fix...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 13:05:31 +00:00
Gabriel Scherer
a0f1d3e171
testsuite/makefiles: a more robust -dlambda test
...
From: Gabriel Scherer <gabriel.scherer@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15584 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:05:33 +00:00
Xavier Leroy
18d23e3a3d
Reflecting commit 14963 on version/4.02:
...
PR#2719: wrong scheduling of bound checks within a try...with Invalid_argument -> _ ...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-06-05 13:59:33 +00:00
Damien Doligez
0f6873a183
make the testsuite work on cygwin-64, where dynamic linking is not yet available
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-03 14:42:23 +00:00
Xavier Leroy
33f242aaea
Reverting the elimination of the ocamlcomp*.sh scripts, namely the following commits:
...
14278
14277
14276
14176
14175
14173
14172
14171
14169
14168
14167
These changes need to mature on their own branch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-29 13:04:38 +00:00
Jacques Garrigue
9212dd34ac
Add test for PR#6216. Not fixed yet.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-30 02:57:59 +00:00
Wojciech Meyer
241585bc83
build: replace ocamlcomp*.sh.
...
This script was built from ocamlcomp.sh.in through sed and is called
instead of "ocamlc" (for instance).
It makes it possible to switch from "ocamlc" to "ocamlc.opt" without
changing anything in the Makefiles, only calling sed.
I couldn't cleanly make it handle both a compiler for the target and for
the build. Instead I'm replacing it and doing as much as possible
directly in the Makefiles.
I hoped it would reduce the number of shell invocations, which would
speed things up quite a lot on Windows but I still had to have at least
one since it's not possible to update a make variable from inside a make
rule: i.e. it's not possible to do X=a, build a.opt and update X to be
a.opt.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14168 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-20 00:22:38 +00:00
Damien Doligez
7844495624
Merge branch 4.01 from branching point to 4.01.0+rc1
...
Command line used:
svn merge --accept postpone -r 13776:14055 $REPO/version/4.01 .
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-04 15:12:37 +00:00
Damien Doligez
2c6d524259
PR#5710: add Mono support to the testsuite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:06:37 +00:00
Damien Doligez
6283fee381
testsuite: making it work without installing OCaml (continued)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:03:58 +00: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
98c197a63b
testsuite: allow testing without installing (continued)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 15:20:48 +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
0e199b5f7d
testsuite: more cleanup of the makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:05:21 +00:00
Damien Doligez
a2f17916d2
porting to MSVC64; some cleanup; ignore .obj and .lib files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 09:39:38 +00:00
Damien Doligez
ea4b17ad1e
testsuite: general cleanup of makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-03 15:52:56 +00:00
Damien Doligez
2e20de4c4d
testsuite: use the right assembler for tests/asmcomp
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 20:27:54 +00:00
Damien Doligez
38608d81c4
testsuite: better error message
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13631 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 19:15:28 +00:00
Damien Doligez
010d94b4d5
testsuite: many small fixes to make it work for mingw
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 17:02:29 +00:00
Damien Doligez
8bbebbc3fe
tests/makefiles/Makefile.toplevel: do not stop after a failed test
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 16:53:37 +00:00
Damien Doligez
fd82bbded5
testsuite: better reporting of failed tests
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 13:01:02 +00:00
Damien Doligez
011b61118d
PR#5712: (6) document OCAMLRUNPARAM flag R
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13199 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-03 15:23:40 +00:00
Jacques Garrigue
c8273a179c
merge branches/record-disambiguation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13112 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-06 09:41:21 +00:00
Jacques Garrigue
505dcfb2fe
fix PR#5343 (was still unsound)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13107 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-02 02:46:22 +00:00
Jacques Garrigue
5323da7fad
fix warnings
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/record-disambiguation@13049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-30 01:02:08 +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
3bb278c944
merge changes from 4.00 branching to 4.00.0 (part 2: testsuite)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-27 11:31:21 +00:00
Damien Doligez
ec0422aa33
PR#5661: fixes for the test suite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-27 12:58:21 +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
Xavier Clerc
ff3c199564
PR#5482: fixed bashism (other problem have already been fixed).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12054 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-19 07:57:51 +00:00
Xavier Clerc
48d5f48d6d
PR#5199: tests are run only for bytecode if either native support is missing,
...
or a non-empty value is set to "BYTECODE_ONLY" Makefile variable.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 09:51:16 +00:00
Xavier Leroy
c98f6f3161
Somewhat related to PR#5179: replace "diff -q" with "$(DIFF)" so that under Windows DIFF can be overriden by something that ignores CRLF/LF differences.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 08:47:03 +00:00
Jacques Garrigue
9dc661c3bf
merge branches/gadts
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-29 10:32:43 +00:00
Xavier Clerc
fffb8e386f
test suite: some tests were failing due to the renaming from "Objective Caml" to "OCaml"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11129 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 14:33:17 +00:00
Xavier Clerc
e8965d6cc9
test suite: reduced verbosity
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11128 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 14:20:00 +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
3f334eb176
testsuite: ability to organize tests in subdirectories.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 08:13:13 +00:00
Jacques Garrigue
974779cd1d
recover some principality
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-02-24 06:29:26 +00:00
Jacques Garrigue
4fd6cd8275
use free univars for explicit polymorphic types
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10663 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-31 06:34:43 +00:00
Xavier Clerc
458d066ec1
Fortran-related test now disabled by default.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 09:45:49 +00:00
Xavier Clerc
cd481b8013
Undefined variables preferred to empty ones in Makefiles.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10361 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 10:37:53 +00:00
Xavier Clerc
b7717b0f4b
GNUmake-specific 'patsubst' constructions replaced with make-agnostic variable substitutions.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10360 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 07:46:14 +00:00
Xavier Clerc
7325d7c1f1
Makefile conditionals replaced with shell conditionals for improved portability
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10354 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:00:11 +00:00
Xavier Clerc
ead8077dae
Tests moved to 'asmcomp'
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10236 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-07 10:15:30 +00:00
Xavier Clerc
7f2e1c1d65
'echo -n' replaced with 'printf' for better portability.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-17 09:11:27 +00:00
Xavier Clerc
b5fbdc43c2
Tests moved to 'lib-threads'
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-28 15:42:08 +00:00