Gabriel Scherer
be65af9f91
Makefile: optional 'parallel' target uses GNU parallel to halve testing time
...
See the run logs below. Using 'parallel' reduces the time to run the
full testsuite from 2m30s to 0m57s on my machine.
All tests are run in parallel, including lib-threads.
We ask parallel to preserve output order, so it should be
deterministic. (Individual tests may mangle stdout and stderr in
fragile ways, though.) See the Makefile comment for details.
```
rm -f _log; make clean;
time make all;
cp _log /tmp/trunk_log
> real 2m29.947s
> user 1m35.937s
> sys 0m17.467s
rm -f _log; make clean;
time make parallel;
cp _log /tmp/parallel_log
> real 0m56.611s
> user 2m20.861s
> sys 0m21.511s
diff -u /tmp/{trunk,parallel}_log | wc -l
> 0
rm /tmp/{trunk,parallel}_log
```
2016-02-02 07:22:37 -05:00
Will Crichton
50dd38d4b6
Add support for immediate attribute
2016-02-02 11:45:07 +00:00
Pierre Chambart
79cd7ac9e3
Do not test some contrived evaluation orders
...
The tests are kept since they experience some otherwise untested code.
2016-02-02 11:49:56 +01:00
Mark Shinwell
ac4ce3e484
Merge pull request #443 from gasche/remove-ocamlbuild
...
GPR#443: Remove ocamlbuild
2016-02-02 09:25:12 +00:00
Mark Shinwell
751352cfd1
Install ocamlbuild as part of Travis checks
2016-02-01 15:05:18 -05:00
Gabriel Scherer
8cbccbffe4
remove ocamlbuild-specific files
2016-02-01 15:05:18 -05:00
Gabriel Scherer
f8f2a6277f
remove ocamlbuild from the compiler distribution
2016-02-01 15:05:18 -05:00
Mark Shinwell
58b4ae89d4
Merge pull request #445 from chambart/travis_build_ocamlnat
...
GPR#445: Travis build ocamlnat
2016-02-01 16:46:43 +00:00
Jeremie Dimino
c32f981147
fix the ast-invariants test
2016-02-01 16:17:11 +00:00
Damien Doligez
8548fc02fe
instrtrace.c: gcc 4.9.3 doesn't like a char as argument to
2016-02-01 15:03:19 +01:00
Damien Doligez
5cf41dcd47
tests/asmcomp: fix is_static test on Windows
2016-02-01 14:44:02 +01:00
Damien Doligez
297c144bd5
silence Make messages
2016-02-01 14:43:30 +01:00
Damien Doligez
09e264d822
fix tests/typing-missing-cmi
2016-01-30 11:29:33 +01:00
Damien Doligez
67d88cb9f9
fix commit a80d536
...
We cannot use ARCH_INTNAT_PRINTF_FORMAT because it isn't guaranteed to
match values of type size_t.
Since this is debugging code, we go for the simple solution and cast
to long.
2016-01-30 11:24:44 +01:00
Bart Jacobs
c9ecd770d6
Fixed unwind test case output syntax
2016-01-29 22:44:01 +01:00
Damien Doligez
f9b8bc6d7c
tests/typing-missing-cmi/Makefile: add "clean" entry; remove useless "| cat"
2016-01-29 17:24:20 +01:00
Damien Doligez
f7337d9340
testsuite: disable testfork.ml on OpenBSD
2016-01-29 17:11:11 +01:00
Damien Doligez
f9121fb21b
testsuite: remove non-portable awk idiom; remove overlong source lines in awk script
2016-01-29 17:11:11 +01:00
Mark Shinwell
7eff9b20a8
Merge pull request #195 from c-cube/stack-fold
...
GPR#195: add `Stack.fold` (issue 0003622)
2016-01-29 16:07:25 +00:00
Mark Shinwell
b5618e8642
max_arguments_without_passing_on-stack
2016-01-29 15:57:36 +00:00
Simon Cruanes
6bd2a9fb4c
edit changelog for `stack.fold`
2016-01-29 16:49:58 +01:00
Simon Cruanes
25b07dd7c7
modify documentation of Stack.fold
2016-01-29 16:48:44 +01:00
Simon Cruanes
c1715977cb
add `Stack.fold` (issue 0003622)
2016-01-29 16:48:44 +01:00
Mark Shinwell
9528337dff
Merge pull request #244 from c-cube/margins-in-colors
...
GPR#244: try to print error messages with flexible margin width
2016-01-29 14:57:21 +00:00
Mark Shinwell
355cf1d40b
merge
2016-01-29 14:43:38 +00:00
Mark Shinwell
b526d25d6a
Merge pull request #5 from chambart/flambda_prereq-cmm_ifthenelse
...
Avoid pushing test deep inside conditions
2016-01-29 14:41:23 +00:00
Damien Doligez
af2669f0a0
disable lib-threads/signal.ml test on msvc and mingw
2016-01-29 14:34:00 +01:00
Damien Doligez
4863299e4a
ignore generated files "testsuite/_retries"
2016-01-29 14:22:44 +01:00
Damien Doligez
5938aae8bd
fix typo in Changes
2016-01-29 14:22:44 +01:00
Mark Shinwell
209139aaa1
Merge pull request #234 from marklrh/empty_list_user_defined_constructor
...
GPR#234: Allow ``[]`` as a user-defined constructor
2016-01-29 09:38:07 +00:00
Runhang Li
4f2ad78e86
Use "*" since GPR#234 breaks existing program
2016-01-28 14:39:12 -08:00
Runhang Li
59806f4812
Update test case
2016-01-28 14:38:13 -08:00
Runhang Li
e51be28926
Add test case and update changelog
2016-01-28 14:38:13 -08:00
Runhang Li
80260ef657
Disallow ``::'' for consistency
2016-01-28 14:37:18 -08:00
Runhang Li
e2d26d1a16
Allow ``::`` surrounded by parenthesis as...
...
constructor name
2016-01-28 14:37:18 -08:00
Runhang Li
4145e68dad
Allow ``[]`` as a user-defined constructor
2016-01-28 14:37:17 -08:00
Pierre Chambart
bd38c58362
Ignore .opt_result files in the testsuite
2016-01-28 18:47:34 +01:00
Pierre Chambart
f4a45d07d0
Addapt warning 55 test
...
Flambda warning texts for warning 55 are different. This change allows
to have different references for the clambda or flambda.
2016-01-28 18:46:20 +01:00
Leo White
89b8c99389
Make extension-constructor test not depend on ident numbers
2016-01-28 18:08:08 +01:00
Pierre Chambart
9aef55ed9c
Prevent static allocations in pr5233 test
2016-01-28 18:01:24 +01:00
Pierre Chambart
ce2ba592a7
Prevent static allocations in pr3612 test
2016-01-28 17:56:08 +01:00
Pierre Chambart
3793b5b744
Prevent static allocations in ephemeron test
2016-01-28 17:52:34 +01:00
Pierre Chambart
220f9e9435
Prevent bactrace test from inlining using annotations
2016-01-28 17:37:53 +01:00
Pierre Chambart
cdd75a23e6
Flambda produces the same stack traces as closure
2016-01-28 17:33:15 +01:00
Pierre Chambart
fd8cdc9d20
Propagate debuginfo as an environment
2016-01-28 16:38:10 +01:00
Leo White
b9bdfa8248
Mark opt arg wrappers of recursive functions as stubs
2016-01-28 16:01:56 +01:00
Pierre Chambart
869dc5b26a
travis build ocamlnat
2016-01-28 15:58:19 +01:00
Pierre Chambart
7b2268810f
Travis also test flambda
2016-01-28 15:46:50 +01:00
Pierre Chambart
73013a4626
Merge pull request #440 from chambart/test_static_allocation
...
Add tests for static data allocation
2016-01-28 15:41:36 +01:00
Pierre Chambart
485ae3049b
Merge pull request #415 from chambart/flambda_merge
...
Enable flambda
2016-01-28 15:05:45 +01:00