Commit Graph

24 Commits (ee8f71101b80496b2ec2c996d29ac33bbaf7cf00)

Author SHA1 Message Date
Damien Doligez ee8f71101b clean up whitespace and cut long lines 2016-02-17 13:36:27 +01:00
David Allsopp 790d9c9885 Display details of all skipped tests
Some Makefile's displayed "=> skipped" lines; some Makefile's displayed
a summary line including the word skipped; most Makefile's are simply
silent if tests are skipped.

Silent obviously doesn't discern between "skipped" and "broken"!

Patch alters all existing to display an explicit "=> skipped" for any
test which is skipped (including ocamlopt tests if
`BYTECODE_ONLY=true`).

The summary is updated to include:

 - The number of skipped tests, and their names (if all tests are
   skipped in a directory then just the directory name is displayed)
 - The total number of tests considered - which should therefore be the
   same on all platforms in all configurations
2016-01-26 14:47:49 +00:00
David Allsopp 09c5ded55b Add missing '@' to testsuite Makefiles
Various testsuite Makefiles displaying commands, which fog up the log
files.
2016-01-25 15:08:05 +00:00
David Allsopp 7c10fb227e Eliminate testsuite ulimit warning on Cygwin
Cygwin doesn't allow the stack limit (uname -s) to be changed, though it
can be queried. Alter the test so that the stack limit is only changed if
it is either unlimited or very large (and skip the tests if ulimit returns
an error)
2016-01-25 15:08:02 +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
Damien Doligez c3bf54a7b6 merge changes from version/4.00 from 4.00.1 to r13697
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 12:56:54 +00:00
Damien Doligez 1a2c1ed3e2 make the testsuite work without installing OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:20:59 +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 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 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 cead6b32bb removed backslashes inadvertently introduced by copy-paste
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13574 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 18:10:50 +00:00
Damien Doligez 0125138f56 Under BSD, subshells apparently inherit the -e setting.
In any case, it's better to use "|| true" to suppress an error result.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 13:55:15 +00:00
Damien Doligez 09fae9d204 continuation of r13523
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13527 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-13 20:34:25 +00:00
Damien Doligez d0c32df9be do not test stack overflow on architectures that do not support it
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-13 19:45:51 +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
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
Xavier Leroy a69f9be8c5 PR#4746: wrong detection of stack overflows in native code under Linux
(quick fix, will have to find something better)
testsuite/tests/runtime-errors: make the test output independent of
  the stack size; add a "ulimit -s" just to make sure stack is limited.
testsuite/tests/asmcomp: updated to compile again.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11898 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 14:38:53 +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 4fe49e995d testsuite: ability run a given test from its own directory.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11090 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 08:38:27 +00:00
Xavier Clerc f80a60d1a0 Typo in the deletion of bytecode programs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10350 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:38:04 +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
Damien Doligez 2faa92d765 ignore generated files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9624 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-09 14:44:19 +00:00
Xavier Clerc 6d1cb50121 Tests moved to 'runtime-errors'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9581 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 14:26:23 +00:00